From d8edc1bce0ae9be333c59dfe2530919ef85be642 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 17 Apr 2025 21:15:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E7=95=8C=E9=9D=A2=E5=85=A8=E5=B1=8F=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E6=9C=AA=E5=8F=91=E5=B8=83=E7=9A=84=E5=9B=BE=E8=A1=A8?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E7=9B=AE=E6=A0=87=E4=BB=AA=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E6=9C=AA=E4=BA=A7=E7=94=9F=E8=81=94=E5=8A=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/chart/components/views/index.vue | 4 +++- core/core-frontend/src/views/data-visualization/index.vue | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/chart/components/views/index.vue b/core/core-frontend/src/views/chart/components/views/index.vue index 5efdc12ee3..1d8c88684f 100644 --- a/core/core-frontend/src/views/chart/components/views/index.vue +++ b/core/core-frontend/src/views/chart/components/views/index.vue @@ -474,7 +474,9 @@ const jumpClick = param => { // 内部仪表板跳转 if (jumpInfo.linkType === 'inner') { if (jumpInfo.targetDvId) { - const editPreviewParams = showPosition.value === 'canvas' ? '&editPreview=true' : '' + const editPreviewParams = ['canvas', 'edit-preview'].includes(showPosition.value) + ? '&editPreview=true' + : '' const filterOuterParams = {} const curFilter = dvMainStore.getLastViewRequestInfo(param.viewId) const targetViewInfoList = jumpInfo.targetViewInfoList diff --git a/core/core-frontend/src/views/data-visualization/index.vue b/core/core-frontend/src/views/data-visualization/index.vue index d175123f1e..93b55bae4d 100644 --- a/core/core-frontend/src/views/data-visualization/index.vue +++ b/core/core-frontend/src/views/data-visualization/index.vue @@ -683,6 +683,7 @@ eventBus.on('tabSort', tabSort) v-if="fullscreenFlag" style="z-index: 10" ref="dvPreviewRef" + show-position="edit-preview" :canvas-data-preview="componentData" :canvas-style-preview="canvasStyleData" :canvas-view-info-preview="canvasViewInfo"