From 06a58bedfd554c158929da98600c929e59cbfaaf Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 25 Oct 2024 18:06:19 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E8=AE=BE=E8=AE=A1=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E6=94=AF=E6=8C=81Tab=E5=86=85=E7=BB=84=E4=BB=B6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data-visualization/canvas/ComponentWrapper.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue index e99670b1ca..9d2cd4d504 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -145,7 +145,7 @@ const handleInnerMouseDown = e => { e.stopPropagation() e.preventDefault() } - if (showPosition.value.includes('popEdit')) { + if (showPosition.value.includes('popEdit') || dvMainStore.mobileInPc) { onClick(e) } } @@ -338,6 +338,7 @@ const initOpenHandler = newWindow => { } } const deepScale = computed(() => scale.value / 100) +const showActive = computed(() => props.popActive || (dvMainStore.mobileInPc && props.active))