forked from github/dataease
Merge pull request #6049 from dataease/pr@dev@fix_drill_tips
fix(视图-地图): 删除地图下钻错误提示
This commit is contained in:
commit
107c793d1d
@ -494,12 +494,6 @@ export default {
|
||||
trackClick(trackAction) {
|
||||
const param = this.pointParam
|
||||
if (!param || !param.data || !param.data.dimensionList) {
|
||||
if (this.chart.type === 'map') {
|
||||
const zoom = this.myChart.getOption().geo[0].zoom
|
||||
if (zoom <= 1) {
|
||||
this.$warning(this.$t('panel.no_drill_field'))
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
const quotaList = this.pointParam.data.quotaList
|
||||
|
@ -348,10 +348,6 @@
|
||||
this.pointParam.viewId = this.chart.id
|
||||
const param = this.pointParam
|
||||
if (!param || !param.data || !param.data.dimensionList) {
|
||||
const zoom = this.myChart.getOption().geo[0].zoom
|
||||
if (zoom <= 1) {
|
||||
this.$warning(this.$t('panel.no_drill_field'))
|
||||
}
|
||||
return
|
||||
}
|
||||
const linkageParam = {
|
||||
|
Loading…
Reference in New Issue
Block a user