From 43a517b80f2803e0dcf6658113520c4a14c8c17f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 22 五月 2023 18:21:52 +0800 Subject: [PATCH] 2023-05-22 --- src/views/menudesign/index.jsx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/views/menudesign/index.jsx b/src/views/menudesign/index.jsx index 10235d1..f5bc9e6 100644 --- a/src/views/menudesign/index.jsx +++ b/src/views/menudesign/index.jsx @@ -723,6 +723,11 @@ if (item.$tables) { tbs.push(...item.$tables) } + + if (item.wrap && item.wrap.permission === 'false') { + return + } + if (item.action && item.action.length > 0) { item.action.forEach(btn => { if (btn.hidden === 'true') return -- Gitblit v1.8.0