mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 18:38:16 +08:00
fix(图表): 带钻取等操作的图表切换图表为水波图显示依然可以钻取
切换到水波图、仪表盘、指标卡后将钻取框清空
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user