fix: antv点击坐标

This commit is contained in:
junjie 2021-10-29 13:39:14 +08:00
parent 6781a762dc
commit 8732ba588d

View File

@ -192,8 +192,8 @@ export default {
if (this.trackMenu.length < 2) { //
this.trackClick(this.trackMenu[0])
} else { //
this.trackBarStyle.left = param.clientX + 'px'
this.trackBarStyle.top = (param.clientY - 15) + 'px'
this.trackBarStyle.left = param.x + 'px'
this.trackBarStyle.top = (param.y - 15) + 'px'
this.$refs.viewTrack.trackButtonClick()
}
},