forked from github/dataease
Merge pull request #7874 from ulleo/dev-v2
fix(图表): 带钻取等操作的图表切换图表为水波图显示依然可以钻取
This commit is contained in:
commit
54a3827646
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user