fix: antv点击坐标

This commit is contained in:
junjie 2021-10-29 13:39:14 +08:00
parent e1d9cd3c23
commit c5f997ac4e

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()
}
},