From d6147b85a6fa20e63525a4337c4cf8b2d21a7374 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: Mon, 19 Jan 2026 10:51:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E8=B7=B3=E8=BD=AC=E5=90=8E=E7=9A=84=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E6=9D=BF=EF=BC=8C=E5=9B=BE=E8=A1=A8=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E6=94=BE=E5=A4=A7=E5=92=8C=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20(#17819)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/ComponentWrapper.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 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 b7898ba67c..72813444d6 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -186,14 +186,14 @@ const htmlToImage = () => { const handleInnerMouseDown = e => { // do setCurComponent - if (showPosition.value.includes('multiplexing')) { + if (showPositionActive.value.includes('multiplexing')) { componentEditBarRef.value.multiplexingCheckOut() e?.stopPropagation() e?.preventDefault() } if ( (!['rich-text'].includes(config.value.innerType) && - ['popEdit', 'preview'].includes(showPosition.value)) || + ['popEdit', 'preview'].includes(showPositionActive.value)) || dvMainStore.mobileInPc ) { onClick() @@ -367,14 +367,14 @@ const onPointClick = param => { const eventEnable = computed( () => - showPosition.value.includes('preview') && + showPositionActive.value.includes('preview') && (['Picture', 'CanvasIcon', 'CircleShape', 'SvgTriangle', 'RectShape', 'ScrollText'].includes( config.value.component ) || ['indicator', 'rich-text'].includes(config.value.innerType)) && config.value.events && config.value.events.checked && - showPosition.value !== 'canvas-multiplexing' + showPositionActive.value !== 'canvas-multiplexing' ) const onWrapperClickCur = e => { @@ -388,7 +388,7 @@ const onWrapperClickCur = e => { } const onWrapperClick = e => { - if (eventEnable.value && !['edit-preview'].includes(showPosition.value)) { + if (eventEnable.value && !['edit-preview'].includes(showPositionActive.value)) { if (config.value.events.type === 'showHidden') { // 打开弹框区域 nextTick(() => { @@ -460,7 +460,7 @@ const commonParams = computed(() => { }) const showCheck = computed(() => { - return dvMainStore.mobileInPc && showPosition.value === 'edit' + return dvMainStore.mobileInPc && showPositionActive.value === 'edit' }) const updateFromMobile = (e, type) => { @@ -522,7 +522,7 @@ onBeforeUnmount(() => {