From c5f997ac4eae37be5c900f59faa2bddb19a56968 Mon Sep 17 00:00:00 2001 From: junjie Date: Fri, 29 Oct 2021 13:39:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20antv=E7=82=B9=E5=87=BB=E5=9D=90=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/components/ChartComponentG2.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/chart/components/ChartComponentG2.vue b/frontend/src/views/chart/components/ChartComponentG2.vue index a99894d4ad..48156af50d 100644 --- a/frontend/src/views/chart/components/ChartComponentG2.vue +++ b/frontend/src/views/chart/components/ChartComponentG2.vue @@ -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() } },