From 4def632408eb1bb75005b336a5186de49169861b Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 12 Mar 2025 19:02:45 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Ddiv=E5=B5=8C=E5=85=A5?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E6=9D=BF=20=E6=8C=87=E6=A0=87=E5=8D=A1/?= =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=E8=AE=BE=E7=BD=AE=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E6=B2=A1=E5=8A=9E=E6=B3=95=E8=B7=B3=E5=88=B0?= =?UTF-8?q?=E5=8F=A6=E4=B8=80=E4=B8=AA=E4=BB=AA=E8=A1=A8=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../canvas/ComponentWrapper.vue | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 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 e6dd2b8801..32bf982f19 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -318,11 +318,21 @@ const onWrapperClick = e => { const jumpType = config.value.events.jump.type try { if ('newPop' === jumpType) { - window.open( - url, - '_blank', - 'width=800,height=600,left=200,top=100,toolbar=no,scrollbars=yes,resizable=yes,location=no' - ) + console.info('DataEase Component Jump newPop value:' + window['originOpen']) + if (window['originOpen']) { + console.info('DataEase Component originOpen newPop') + window['originOpen']( + url, + '_blank', + 'width=800,height=600,left=200,top=100,toolbar=no,scrollbars=yes,resizable=yes,location=no' + ) + } else { + window.open( + url, + '_blank', + 'width=800,height=600,left=200,top=100,toolbar=no,scrollbars=yes,resizable=yes,location=no' + ) + } } else if ('_blank' === jumpType) { console.info('DataEase Component Jump _blank value:' + window['originOpen']) if (window['originOpen']) {