forked from github/dataease
Merge pull request #6038 from dataease/pr@dev@fix_map_click
fix(视图-地图): 点击事件触发多次
This commit is contained in:
commit
b232314e4a
@ -292,6 +292,7 @@ export default {
|
|||||||
this.myChart = this.$echarts.init(document.getElementById(this.chartId))
|
this.myChart = this.$echarts.init(document.getElementById(this.chartId))
|
||||||
}
|
}
|
||||||
this.drawEcharts()
|
this.drawEcharts()
|
||||||
|
this.myChart.off('click')
|
||||||
this.myChart.on('click', function(param) {
|
this.myChart.on('click', function(param) {
|
||||||
that.pointParam = param
|
that.pointParam = param
|
||||||
if (that.linkageActiveParam) {
|
if (that.linkageActiveParam) {
|
||||||
|
Loading…
Reference in New Issue
Block a user