Unverified 提交 04c7a3c9 authored 作者: XiaJunjie2020's avatar XiaJunjie2020 提交者: GitHub

Merge pull request #1052 from dataease/pr@dev@fix_antv

fix: antv点击坐标
...@@ -192,8 +192,8 @@ export default { ...@@ -192,8 +192,8 @@ export default {
if (this.trackMenu.length < 2) { // 只有一个事件直接调用 if (this.trackMenu.length < 2) { // 只有一个事件直接调用
this.trackClick(this.trackMenu[0]) this.trackClick(this.trackMenu[0])
} else { // 视图关联多个事件 } else { // 视图关联多个事件
this.trackBarStyle.left = param.clientX + 'px' this.trackBarStyle.left = param.x + 'px'
this.trackBarStyle.top = (param.clientY - 15) + 'px' this.trackBarStyle.top = (param.y - 15) + 'px'
this.$refs.viewTrack.trackButtonClick() this.$refs.viewTrack.trackButtonClick()
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论