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/mob/components/menubar/normal-menubar/menucomponent/options.jsx | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx b/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx index fd5ce24..ed3e96c 100644 --- a/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx +++ b/src/mob/components/menubar/normal-menubar/menucomponent/options.jsx @@ -64,7 +64,23 @@ initval: setting.copyMenuId || '', tooltip: '澶嶅埗鑿滃崟浠呭湪褰撳墠鑿滃崟鍒涘缓鏃舵湁鏁堛��', required: false, - options: menulist + options: menulist, + extendName: 'MenuNo', + controlFields: [ + {field: 'clearMenu', notNull: true}, + ], + }, + { + type: 'radio', + field: 'clearMenu', + label: '娓呯┖鍏宠仈鑿滃崟', + initval: setting.clearMenu || 'true', + tooltip: '澶嶅埗鑿滃崟鏃讹紝鏄惁娓呯┖鍘熼〉闈腑鐨勫叧鑱旇彍鍗曘��', + required: false, + options: [ + {value: 'true', label: '鏄�'}, + {value: 'false', label: '鍚�'} + ] }, { type: 'select', @@ -72,6 +88,7 @@ label: '鍏宠仈鑿滃崟', initval: setting.linkMenuId || '', required: true, + extendName: 'MenuNo', options: [ ...menulist, // {value: 'IM', label: '鍗虫椂閫氫俊锛堢郴缁熼〉锛�'}, -- Gitblit v1.8.0