From 05be1d8d7db1c4ed6e9d59fa064604cac2dee6c7 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 09 十二月 2024 15:38:28 +0800 Subject: [PATCH] Merge branch 'develop' --- src/utils/utils-custom.js | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/utils/utils-custom.js b/src/utils/utils-custom.js index 0164b7c..188585a 100644 --- a/src/utils/utils-custom.js +++ b/src/utils/utils-custom.js @@ -3089,6 +3089,13 @@ item.$menuname = (config.MenuName || '') + label + '-' + (item.name || '') if (item.type === 'tabs') { + if (config.Template === 'BaseTable') { + item.subtabs.forEach(tab => { + if (tab.permission !== 'true' && tab.components[0] && tab.components[0].wrap) { + tab.components[0].wrap.permission = 'false' + } + }) + } item.subtabs.forEach(tab => { let _mainSearch = mainSearch || [] @@ -3099,6 +3106,7 @@ _mainSearch = com.search || [] }) } + filterComponent(tab.components, _mainSearch, label, ispop) }) } else if (item.type === 'group') { -- Gitblit v1.8.0