From 6047b4d3fa0d6ad51f7fe27f5d2c855b8e9dfb90 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 11 Sep 2024 10:55:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dtab=E4=B8=AD=E7=9A=84=E7=BB=84=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E5=9C=A8=E7=BC=96=E8=BE=91=E7=9A=84=E6=97=B6=E5=80=99=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B9=8B=E5=90=8E=E6=9C=89=E7=A9=BA=E9=9A=99=EF=BC=8C?= =?UTF-8?q?=E5=9C=A8=E9=A2=84=E8=A7=88=E7=95=8C=E9=9D=A2=EF=BC=8C=E6=97=A0?= =?UTF-8?q?=E7=A9=BA=E9=9A=99=E9=97=AE=E9=A2=98=20#12132?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/data-visualization/canvas/DePreview.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 8af776980a..3e17bb56f4 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue @@ -253,8 +253,8 @@ const getShapeItemShowStyle = item => { } const curGap = computed(() => { - return dashboardActive.value && canvasStyleData.value?.dashboard?.gap === 'yes' - ? canvasStyleData.value?.dashboard?.gapSize + return dashboardActive.value && dvMainStore.canvasStyleData.dashboard?.gap === 'yes' + ? dvMainStore.canvasStyleData?.dashboard?.gapSize : 0 })