From b03948f1f9f2998a4649d92263457255438b09b3 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 12 二月 2022 17:37:51 +0800 Subject: [PATCH] 2022-02-12 --- src/templates/zshare/formconfig.jsx | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 130710b..90b2040 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -1273,6 +1273,14 @@ required: false }, { + type: 'text', + key: 'tipTitle', + label: '纭鎻愮ず', + initVal: card.tipTitle || '', + tooltip: '娉細寮圭獥锛堣〃鍗曪級鍦ㄦ樉绀轰负鏄惁妗嗘椂鏈夋晥銆�', + required: false + }, + { type: 'radio', key: 'joint', label: Formdict['model.form.paramJoint'], @@ -2372,6 +2380,10 @@ initval = card.initval || 0 } + if (appType === 'mob' && ![24, 12, 8, 6].includes(card.span)) { + card.span = 24 + } + return [ { type: 'text', @@ -3158,6 +3170,28 @@ forbid: appType === 'mob' }, { + type: 'radio', + key: 'span', + label: '琛ㄥ崟瀹藉害', + initVal: card.span || 24, + tooltip: '鏍呮牸甯冨眬鏁磋24绛夊垎銆�', + required: true, + forbid: appType !== 'mob', + options: [{ + value: 24, + text: 24 + }, { + value: 12, + text: 12 + }, { + value: 8, + text: 8 + }, { + value: 6, + text: 6 + }] + }, + { type: 'number', key: 'labelwidth', min: 1, -- Gitblit v1.8.0