From d16be832f9785b819c4d754a6281710dcfe3d20e Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 29 Nov 2024 15:43:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=BB=84=E4=BB=B6=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E7=82=B9=E5=87=BB=E4=BA=8B=E4=BB=B6=E4=B8=8D=E5=8F=97?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE=E9=A1=B5=E9=9D=A2=E6=89=93?= =?UTF-8?q?=E5=BC=80=E6=96=B9=E5=BC=8F=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/data-visualization/canvas/ComponentWrapper.vue | 3 +-- core/core-frontend/src/custom-component/common/CommonEvent.vue | 2 +- .../chart/components/editor/dataset-select/DatasetSelect.vue | 2 +- 3 files changed, 3 insertions(+), 4 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 84c3318d04..a0e6039e22 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/ComponentWrapper.vue @@ -328,10 +328,9 @@ const onWrapperClick = e => { try { let newWindow if ('newPop' === jumpType) { - const openType = wsCache.get('open-backend') === '1' ? '_self' : '_blank' window.open( url, - openType, + '_blank', 'width=800,height=600,left=200,top=100,toolbar=no,scrollbars=yes,resizable=yes,location=no' ) } else { diff --git a/core/core-frontend/src/custom-component/common/CommonEvent.vue b/core/core-frontend/src/custom-component/common/CommonEvent.vue index 4d70a19acc..91face3bac 100644 --- a/core/core-frontend/src/custom-component/common/CommonEvent.vue +++ b/core/core-frontend/src/custom-component/common/CommonEvent.vue @@ -120,7 +120,7 @@ const onJumpValueChange = () => { diff --git a/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue b/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue index 2aee5713cc..10e97ecbe6 100644 --- a/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue +++ b/core/core-frontend/src/views/chart/components/editor/dataset-select/DatasetSelect.vue @@ -57,7 +57,7 @@ const newSource = : t('visualization.new_dataset') const sourceName = computed(() => - props.sourceType === 'datasource' ? t('visualization.datasource') : t('visualization.dataset') + props.sourceType === 'datasource' ? t('datasource.datasource') : t('visualization.dataset') ) const sortTypeChange = arr => {