From 2292d1826e69e21c8a411c217faef635fe57d458 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 07 一月 2021 10:48:49 +0800 Subject: [PATCH] Merge branch 'bms' of ssh://39.106.218.81:29418/~jinfei/pc-plat into bms --- src/menu/popview/index.jsx | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/menu/popview/index.jsx b/src/menu/popview/index.jsx index f940083..a90b4c0 100644 --- a/src/menu/popview/index.jsx +++ b/src/menu/popview/index.jsx @@ -175,6 +175,8 @@ item.subtabs.forEach(tab => { traversal(tab.components) }) + } else if (item.type === 'group') { + traversal(item.components) } else if (item.type === 'card' || (item.type === 'table' && item.subtype === 'tablecard')) { item.action && item.action.forEach(btn => { buttons.push(`select '${btn.uuid}' as menuid, '${item.name + '-' + btn.label}' as menuname, '${_sort * 10}' as Sort`) @@ -227,6 +229,8 @@ item.subtabs.forEach(tab => { tab.components = this.filterConfig(tab.components) }) + } else if (item.type === 'group') { + item.components = this.filterConfig(item.components) } else if (item.type === 'table' && item.subtype === 'normaltable') { item.search = item.search.filter(a => !a.origin) item.action = item.action.filter(a => !a.origin) -- Gitblit v1.8.0