From 5046d0d13dc6a8563b8e54e31913bc44cfa1072f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 26 四月 2022 19:23:18 +0800 Subject: [PATCH] 2022-04-26 --- src/menu/components/group/normal-group/options.jsx | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 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..9c6f2e6 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,43 @@ 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: 'radio', + field: 'layout', + label: '鍏冪礌甯冨眬', + initval: setting.layout || 'grid', + tooltip: '鍒嗙粍涓厓绱犵殑鎺掑垪鏂瑰紡', + required: false, + options: [ + {value: 'grid', label: '鏍呮牸甯冨眬'}, + {value: 'flex', label: '寮规�у竷灞�'}, + ] + }, + { type: 'multiselect', field: 'blacklist', label: '榛戝悕鍗�', -- Gitblit v1.8.0