From bf772e586c29b4858366dbad143b1eaeca3c46ed Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 17 四月 2020 10:18:09 +0800 Subject: [PATCH] 2020-04-17 --- src/templates/zshare/formconfig.jsx | 42 +++++++++++++++++++++++++++--------------- 1 files changed, 27 insertions(+), 15 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 6912d58..8ea25d1 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -423,7 +423,7 @@ type: 'text', key: 'interface', label: Formdict['header.form.interface'], - initVal: card.sysInterface === 'true' ? (window.GLOB.mainSystemApi || window.GLOB.subSystemApi) : (card.interface || ''), + initVal: card.sysInterface === 'true' ? (window.GLOB.mainSystemApi || '') : (card.interface || ''), required: true, readonly: card.sysInterface === 'true' }, @@ -812,20 +812,16 @@ required: false }, { - type: 'multiselect', - key: 'blacklist', - label: Formdict['header.form.blacklist'], - initVal: card.blacklist || [], - required: false, - options: roleList - }, - { - type: 'cascader', - key: 'linkmenu', - label: Formdict['header.form.linkmenu'], - initVal: card.linkmenu || [], - required: false, - options: menulist + type: 'number', + key: 'maxHeight', + min: 1, + max: 1000, + decimal: 0, + label: '鏈�澶ч珮搴�', + tooltip: '鍥剧墖鍦ㄨ〃鏍间腑鏄剧ず鐨勬渶澶ч珮搴�', + tooltipClass: 'middle', + initVal: card.maxHeight || 128, + required: true }, { type: 'radio', @@ -840,6 +836,22 @@ value: 'false', text: Formdict['header.form.false'] }] + }, + { + type: 'multiselect', + key: 'blacklist', + label: Formdict['header.form.blacklist'], + initVal: card.blacklist || [], + required: false, + options: roleList + }, + { + type: 'cascader', + key: 'linkmenu', + label: Formdict['header.form.linkmenu'], + initVal: card.linkmenu || [], + required: false, + options: menulist } ] } -- Gitblit v1.8.0