From f522541f08bb8ae676480c0c23d71c7dcd5de665 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 18 Feb 2025 14:15:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9A=90=E8=97=8F=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E7=82=B9=E5=87=BB=E9=9A=90=E8=97=8F=E7=9A=84tab?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=86=85=E9=83=A8=EF=BC=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E9=80=80=E5=87=BA=E9=9A=90=E8=97=8F=E6=A8=A1=E5=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/data-visualization/canvas/DePreview.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue index 77bf211333..704c5013a0 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue @@ -397,9 +397,11 @@ const userViewEnlargeOpen = (opt, item) => { ) } const handleMouseDown = () => { - dvMainStore.setCurComponent({ component: null, index: null }) - if (!curComponent.value || (curComponent.value && curComponent.value.category !== 'hidden')) { - dvMainStore.canvasStateChange({ key: 'curPointArea', value: 'base' }) + if (showPosition.value !== 'viewDialog') { + dvMainStore.setCurComponent({ component: null, index: null }) + if (!curComponent.value || (curComponent.value && curComponent.value.category !== 'hidden')) { + dvMainStore.canvasStateChange({ key: 'curPointArea', value: 'base' }) + } } }