From 46059e342d70b51bd9775f30feb5f29304bda6ac Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 19 九月 2022 17:15:04 +0800
Subject: [PATCH] 2022-09-19
---
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