Merge pull request #6038 from dataease/pr@dev@fix_map_click

fix(视图-地图): 点击事件触发多次
This commit is contained in:
fit2cloudrd 2023-09-06 18:29:10 +08:00 committed by GitHub
commit b232314e4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,6 +292,7 @@ export default {
this.myChart = this.$echarts.init(document.getElementById(this.chartId))
}
this.drawEcharts()
this.myChart.off('click')
this.myChart.on('click', function(param) {
that.pointParam = param
if (that.linkageActiveParam) {