From 62ebae424b86bb51f86d3d8852eb38450db9769a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 27 五月 2021 19:07:32 +0800 Subject: [PATCH] 2021-05-27 --- src/templates/zshare/formconfig.jsx | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 4dd9521..e2a85b6 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -2332,11 +2332,12 @@ { type: 'number', key: 'maxRows', - min: 2, + min: 1, max: 100, precision: 0, - label: Formdict['header.form.maxRows'], - initVal: card.maxRows || 6, + label: appType === 'mob' ? '琛屾暟' : Formdict['header.form.maxRows'], + tooltip: appType === 'mob' ? '琛屾暟涓虹┖鏃讹紝楂樺害鑷�傚簲' : '', + initVal: card.maxRows || (appType === 'mob' ? '' : 6), required: false }, { @@ -2580,6 +2581,21 @@ }] }, { + type: 'radio', + key: 'count', + label: '璁℃暟鍔熻兘', + initVal: card.count || 'false', + tooltip: '鏄剧ず杈撳叆鐨勫瓧绗︽暟锛岃缃鏁版椂鐢熸晥锛屾敞锛氬姞瀵嗕紶杈撴椂鏈�澶у�间笌瀛楁闀垮害涓嶇瓑銆�', + options: [{ + value: 'true', + text: '寮�鍚�' + }, { + value: 'false', + text: '鍏抽棴' + }], + forbid: appType !== 'mob' + }, + { type: 'select', key: 'supField', label: '涓婄骇琛ㄥ崟', -- Gitblit v1.8.0