From 94ea9615b43285886c1eb8abbe91ffbc6b900aed Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 10 Dec 2024 11:16:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E9=9B=86):=20=E6=96=B0?= =?UTF-8?q?=E5=BB=BA=E4=BB=AA=E8=A1=A8=E6=9D=BF=E6=8C=87=E5=AE=9A=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E9=9B=86=E4=B8=8D=E6=AD=A3=E7=A1=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/editor/index.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index f4c8efa559..9a5faba215 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -20,6 +20,7 @@ import { onBeforeMount, provide, unref, + onBeforeUnmount, onMounted } from 'vue' import Icon from '@/components/icon-custom/src/Icon.vue' @@ -183,6 +184,11 @@ onBeforeMount(() => { cacheId = route.query.id as unknown as string }) +onBeforeUnmount(() => { + view.value.tableId = '' + cacheId = '' +}) + onMounted(() => { useEmitt({ name: 'clear-remove',