From 022117759e36d7c48648cf373ec625fc3555e33e Mon Sep 17 00:00:00 2001 From: wisonic-s Date: Mon, 1 Jul 2024 22:57:31 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E5=9B=BE=E8=A1=A8):=20=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E5=9B=BE=E6=A0=87=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/store/modules/data-visualization/dvMain.ts | 1 + core/core-frontend/src/views/chart/components/views/index.vue | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts index 8c535207d7..a994231fee 100644 --- a/core/core-frontend/src/store/modules/data-visualization/dvMain.ts +++ b/core/core-frontend/src/store/modules/data-visualization/dvMain.ts @@ -393,6 +393,7 @@ export const dvMainStore = defineStore('dataVisualization', { id: component.id, type: component.innerType, render: component.render, + isPlugin: component.isPlugin, plugin: { isPlugin: component.isPlugin, staticMap: component.staticMap diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index cd7a7d0ea3..ede289b4d4 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -516,7 +516,9 @@ const listenerEnable = computed(() => { return !showPosition.value.includes('viewDialog') }) onMounted(() => { - queryData(true && !showPosition.value.includes('viewDialog')) + if (!view.value.isPlugin) { + queryData(true && !showPosition.value.includes('viewDialog')) + } if (!listenerEnable.value) { return }