From b857b8f1b12a59df69c52065c4ea5585ca3b7c49 Mon Sep 17 00:00:00 2001 From: ulleo Date: Mon, 29 Jan 2024 14:20:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E5=B8=A6=E9=92=BB?= =?UTF-8?q?=E5=8F=96=E7=AD=89=E6=93=8D=E4=BD=9C=E7=9A=84=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=9B=BE=E8=A1=A8=E4=B8=BA=E6=B0=B4=E6=B3=A2?= =?UTF-8?q?=E5=9B=BE=E6=98=BE=E7=A4=BA=E4=BE=9D=E7=84=B6=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E9=92=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 切换到水波图、仪表盘、指标卡后将钻取框清空 --- .../src/views/chart/components/editor/index.vue | 7 +++++++ 1 file changed, 7 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 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)