From 21d92eff0e23974d76e3e5a79ba50e3fc1c0b879 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 15 四月 2022 01:08:15 +0800 Subject: [PATCH] 2022-04-15 --- src/menu/components/group/normal-group/options.jsx | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/src/menu/components/group/normal-group/options.jsx b/src/menu/components/group/normal-group/options.jsx index fcaca1a..114af09 100644 --- a/src/menu/components/group/normal-group/options.jsx +++ b/src/menu/components/group/normal-group/options.jsx @@ -50,6 +50,7 @@ {field: 'pageLayout', values: ['true']}, {field: 'syncModule', values: ['true']}, {field: 'checkAll', values: ['true']}, + {field: 'hide', values: ['true']}, ], forbid: appType === 'mob' }, @@ -79,6 +80,31 @@ forbid: appType === 'mob' }, { + type: 'checkbox', + field: 'hide', + label: '闅愯棌鍏冪礌', + initval: setting.hide || [], + tooltip: '鎵ц鎵撳嵃鏃堕渶瑕侀殣钘忕殑椤甸潰鍏冪礌銆�', + required: false, + options: [ + {value: 'search', label: '鎼滅储'}, + {value: 'button', label: '鎸夐挳'}, + ], + forbid: appType === 'mob' + }, + { + type: 'radio', + field: 'permission', + label: '鏉冮檺楠岃瘉', + initval: setting.permission || 'false', + required: false, + options: [ + {value: 'true', label: '鍚敤'}, + {value: 'false', label: '绂佺敤'}, + ], + forbid: !appType + }, + { type: 'multiselect', field: 'blacklist', label: '榛戝悕鍗�', -- Gitblit v1.8.0