From 87845ae8c285399eb70bce517289157544c2aa0d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 22 六月 2023 09:46:50 +0800 Subject: [PATCH] 2023-06-22 --- src/templates/zshare/formconfig.jsx | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx index 71145dd..2dea436 100644 --- a/src/templates/zshare/formconfig.jsx +++ b/src/templates/zshare/formconfig.jsx @@ -4151,8 +4151,7 @@ key: 'icon', label: '鍥炬爣', initVal: card.icon || '', - required: false, - forbid: type === 'CalendarPage' + required: false }, { type: 'select', @@ -4160,8 +4159,7 @@ label: '涓婄骇鏍囩', initVal: supMenu, required: false, - options: menus, - forbid: type === 'CalendarPage' + options: menus }, { type: 'mutilselect', @@ -4170,8 +4168,7 @@ tooltip: '濡傛灉瀛愭爣绛句腑鍚湁鍒锋柊鍚岀骇鏍囩鐨勬寜閽紝鍦ㄦ澶勬坊鍔犻渶瑕佸埛鏂扮殑鏍囩銆�', initVal: equalTab, required: false, - options: equalTabs, - forbid: type === 'CalendarPage' + options: equalTabs }, { type: 'text', @@ -4179,8 +4176,7 @@ label: '澶栭敭', tooltip: '澶栭敭鏃ㄥ湪鏍囩椤典腑鎵ц榛樿鍑芥暟锛堟坊鍔狅級鏃讹紝鏇挎崲BID瀛楁', initVal: card.foreignKey || '', - required: false, - forbid: type === 'CalendarPage' + required: false }, { type: 'number', @@ -4200,7 +4196,7 @@ initVal: card.searchPass || 'false', tooltip: '浣跨敤涓昏〃鎼滅储鏉′欢鏃讹紝涓昏〃鐨勬悳绱㈡潯浠朵細浼犲叆瀛愯〃涓��', required: false, - forbid: type !== 'CommonTable' && type !== 'CalendarPage', + forbid: type !== 'CommonTable', options: [{ value: 'true', text: '浣跨敤' -- Gitblit v1.8.0