From 1962e3431337a5c4457cc27d838b4fd9ef6cfd54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Fri, 5 Sep 2025 17:39:50 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=9B=B4=E6=96=B0=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E6=A0=B7=E5=BC=8F=20(#16911)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data-visualization/canvas/ComponentWrapper.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 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 ea73c154e1..b2472b6e01 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -176,7 +176,7 @@ const handleInnerMouseDown = e => { ['popEdit', 'preview'].includes(showPosition.value)) || dvMainStore.mobileInPc ) { - onClick(e) + onClick() if (e.target?.className?.includes('ed-input__inner')) return e?.stopPropagation() e?.preventDefault() @@ -339,12 +339,12 @@ const onWrapperClick = e => { } else { window.open(url, '_blank') } - if (inMobile.value) { + if (isMobile()) { window.location.reload() } } else { initOpenHandler(window.open(url, jumpType)) - if (inMobile.value) { + if (isMobile()) { window.location.reload() } }