From 4463c86216c970277aea73463cd4008e3066392e Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Fri, 8 Apr 2022 13:54:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tabs=E7=BB=84=E4=BB=B6=E5=A4=9A=E4=B8=AA?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E5=8D=A1=E8=BF=87=E6=BB=A4=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/components/Toolbar.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frontend/src/components/canvas/components/Toolbar.vue b/frontend/src/components/canvas/components/Toolbar.vue index f4beea3570..06bc97b554 100644 --- a/frontend/src/components/canvas/components/Toolbar.vue +++ b/frontend/src/components/canvas/components/Toolbar.vue @@ -274,6 +274,13 @@ export default { const components = deepCopy(this.componentData) components.forEach(view => { if (view.filters && view.filters.length > 0) { view.filters = [] } + if (view.type === 'de-tabs') { + view.options.tabList && view.options.tabList.length > 0 && view.options.tabList.forEach(tab => { + if (tab.content && tab.content.filters && tab.content.filters.length > 0) { + tab.content.filters = [] + } + }) + } }) // 无需保存条件 requestInfo.panelData = JSON.stringify(components)