From 921f3f0bebc99a92d5aef676c0214d5c3aba70e7 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: Wed, 10 Sep 2025 13:33:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=AA=E8=A1=A8?= =?UTF-8?q?=E6=9D=BF=E7=BC=A9=E6=94=BE=E6=A8=A1=E5=BC=8F=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E4=B8=BA=E6=8C=89=E7=BB=84=E4=BB=B6=E6=AF=94=E4=BE=8B=E7=BC=A9?= =?UTF-8?q?=E6=94=BE=EF=BC=8C=E4=BF=9D=E5=AD=98=E5=8F=91=E5=B8=83=E5=90=8E?= =?UTF-8?q?=E5=86=8D=E6=AC=A1=E6=9F=A5=E7=9C=8B=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20#16885=20(#16942)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/data-visualization/canvas/DePreview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue index 0d0fc03de4..17bf9a559b 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue @@ -156,7 +156,7 @@ const dataVKeepRadio = computed(() => { // 仪表板是否跟随宽度缩放 非全屏 full 都需要保持宽高比例 const dashboardScaleWithWidth = computed(() => { - return isDashboard() && screenAdaptor.value === 'withWidth' + return isDashboard() && canvasStyleData.value?.dashboardAdaptor === 'withWidth' }) const isReport = computed(() => { return !!router.currentRoute.value.query?.report