From 082b29736117ab98947d4c6cb8d6497bd759eea5 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 18 Jun 2024 15:48:32 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E8=A7=86=E5=9B=BE=E6=8F=92=E4=BB=B6=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/chart/components/editor/index.vue | 6 ++++-- .../src/views/chart/components/views/index.vue | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) 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 1a2f4667b2..37ae2b03ca 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -761,7 +761,9 @@ const calcData = (view, resetDrill = false, updateQuery = '') => { }) } } - +const updateChartDataTest = arg => { + updateChartData(arg) +} const updateChartData = view => { curComponent.value['state'] = 'ready' calcData(view, true, 'updateQuery') @@ -1608,7 +1610,7 @@ const deleteChartFieldItem = id => { :dimension="state.dimension" :quota="state.quota" :themes="themes" - @update-chart-data="updateChartData" + @update-chart-data-test="updateChartDataTest" /> { if (view.value.type === 'rich-text') { return true } + if (view.value?.plugin?.isPlugin) { + return true + } if (view.value['dataFrom'] === 'template') { return true }