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 }