From 31ec63f0419895876cbaba99637a884a32d33d0d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 01 九月 2021 10:31:45 +0800 Subject: [PATCH] 2021-09-01 --- src/menu/components/form/formaction/formconfig.jsx | 28 +++++++++++----------------- 1 files changed, 11 insertions(+), 17 deletions(-) diff --git a/src/menu/components/form/formaction/formconfig.jsx b/src/menu/components/form/formaction/formconfig.jsx index 9b358d1..f6e1da1 100644 --- a/src/menu/components/form/formaction/formconfig.jsx +++ b/src/menu/components/form/formaction/formconfig.jsx @@ -25,7 +25,7 @@ try { menulist = JSON.parse(menulist) menulist = menulist.map(item => ({value: item.MenuID, text: item.MenuName})) - } catch { + } catch (e) { menulist = [] } } else { @@ -37,7 +37,7 @@ if (menulist) { try { menulist = JSON.parse(menulist) - } catch { + } catch (e) { menulist = [] } } else { @@ -251,6 +251,14 @@ options: menulist }, { + type: 'text', + key: 'output', + label: '杩斿洖鍊�', + tooltip: '鎵ц鎴愬姛鍚庣殑杩斿洖鍊笺��', + initVal: card.output || '', + required: false + }, + { type: 'radio', key: 'open', label: '鎵撳紑鏂瑰紡', @@ -273,20 +281,6 @@ tooltip: '鎵ц鎴愬姛鍚庨渶瑕佸埛鏂扮殑缁勪欢銆�', required: false, options: modules - }, - // { - // type: 'radio', - // key: 'enable', - // label: '鏄惁鏄剧ず', - // initVal: card.enable || 'true', - // required: false, - // options: [{ - // value: 'true', - // text: '鏄剧ず' - // }, { - // value: 'false', - // text: '闅愯棌' - // }] - // } + } ] } -- Gitblit v1.8.0