From b6e8966b84a0641a29de57e3e7240e1227406765 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 05 一月 2021 11:30:42 +0800 Subject: [PATCH] 2021-01-05 --- 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