From 41c6ddf996d3caff46991dc9b8811873bbd533fb Mon Sep 17 00:00:00 2001 From: jianneng-fit2cloud Date: Sun, 6 Apr 2025 13:02:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9B=BE=E8=A1=A8):=20g2plot=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E8=BD=AE=E6=92=AD=E6=98=BE=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data-visualization/RealTimeListTree.vue | 2 + .../visualization/UserViewEnlarge.vue | 6 +- .../store/modules/data-visualization/layer.ts | 15 + .../components/TooltipSelector.vue | 6 +- .../components/js/g2plot_tooltip_carousel.ts | 404 +++++++++++------- .../components/js/panel/charts/line/area.ts | 2 +- .../components/js/panel/common/common_antv.ts | 76 +++- 7 files changed, 334 insertions(+), 177 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue b/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue index d21e18087c..34f501d463 100644 --- a/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue +++ b/core/core-frontend/src/components/data-visualization/RealTimeListTree.vue @@ -243,6 +243,7 @@ const unlock = () => { const hideComponent = () => { setTimeout(() => { layerStore.hideComponent() + layerStore.pausedTooltipCarousel(curComponent.value.id) snapshotStore.recordSnapshotCache('realTime-hideComponent') }) } @@ -250,6 +251,7 @@ const hideComponent = () => { const showComponent = () => { setTimeout(() => { layerStore.showComponent() + layerStore.resumeTooltipCarousel(curComponent.value.id) snapshotStore.recordSnapshotCache('showComponent') }) } diff --git a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue index ad4e70f492..7889169ddd 100644 --- a/core/core-frontend/src/components/visualization/UserViewEnlarge.vue +++ b/core/core-frontend/src/components/visualization/UserViewEnlarge.vue @@ -7,6 +7,7 @@ width="70vw" trigger="click" class="userViewEnlarge-class" + @close="handleClose" >