fix: tabs组件中的视图全屏预览错误

This commit is contained in:
fit2cloud-chenyw
2022-02-24 12:33:37 +08:00
parent 2bd1c83e79
commit 0a63bf4e88
2 changed files with 31 additions and 2 deletions

View File

@@ -46,6 +46,11 @@ export const buildFilterMap = panelItems => {
if (element.type === 'view') {
result[element.propValue.viewId] = []
}
if (element.type === 'de-tabs') {
element.options.tabList && element.options.tabList.forEach(tab => {
result[tab.content.propValue.viewId] = []
})
}
})
panelItems.forEach(element => {
if (element.type !== 'custom') {