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 a61fd09645..77b3e2ecd2 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -637,6 +637,13 @@ const onTypeChange = (render, type) => { emitter.emit('removeAxis', { axisType: 'yAxis', axis, editType: 'remove' }) } } + if ( + view.value.type === 'liquid' || + view.value.type === 'gauge' || + view.value.type === 'indicator' + ) { + removeItems('drillFields') + } } curComponent.value.innerType = type calcData(view.value, true)