From 95602b0e3728927770774768dd7541350cdb812c Mon Sep 17 00:00:00 2001 From: wisonic Date: Wed, 10 Jul 2024 19:32:04 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=BB=9A=E5=8A=A8=E6=97=B6=E6=8B=96=E5=8A=A8?= =?UTF-8?q?=E5=8F=98=E5=BD=A2=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=B8=BA=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E6=97=B6=E6=8B=96=E5=8A=A8=E6=97=B6=E9=87=8D=E7=BB=98?= =?UTF-8?q?=E8=A1=A8=E6=A0=BC=20#10686?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chart/components/views/components/ChartComponentS2.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue index 3917c5d975..0264cadedb 100644 --- a/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue +++ b/core/core-frontend/src/views/chart/components/views/components/ChartComponentS2.vue @@ -2,6 +2,7 @@ import { computed, inject, + nextTick, onBeforeUnmount, onMounted, PropType, @@ -393,6 +394,11 @@ const trackMenu = computed(() => { }) const resizeAction = resizeColumn => { + // 从头开始滚动 + if (myChart?.facet.timer) { + myChart?.facet.timer.stop() + nextTick(initScroll) + } if (showPosition.value !== 'canvas') { return }