From 49d2d9c369988647f281144f11606f21b27601bc Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 27 Aug 2024 10:22:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E3=80=81=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BF=AE=E5=A4=8DTab?= =?UTF-8?q?=E9=A1=B5=E5=88=9D=E6=AC=A1=E9=A2=84=E8=A7=88=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98=EF=BC=8C=E8=BD=AE=E6=92=AD=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E8=BE=93=E5=85=A5=E5=9B=9E=E8=BD=A6=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E7=AD=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/data-visualization/canvas/CanvasCore.vue | 4 ++-- .../src/components/data-visualization/canvas/DePreview.vue | 4 ++-- .../src/custom-component/common/TabCarouselSetting.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/core-frontend/src/components/data-visualization/canvas/CanvasCore.vue b/core/core-frontend/src/components/data-visualization/canvas/CanvasCore.vue index d38934f10e..582eadac04 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/CanvasCore.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/CanvasCore.vue @@ -299,8 +299,8 @@ const pointShadowShow = computed(() => { }) const curGap = computed(() => { - return dashboardActive.value && canvasStyleData.value.dashboard.gap === 'yes' - ? canvasStyleData.value.dashboard.gapSize + return dashboardActive.value && canvasStyleData.value?.dashboard?.gap === 'yes' + ? canvasStyleData.value?.dashboard?.gapSize : 0 }) 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 c74c99f2e7..4e7faa5c6d 100644 --- a/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue +++ b/core/core-frontend/src/components/data-visualization/canvas/DePreview.vue @@ -237,8 +237,8 @@ const getShapeItemShowStyle = item => { } const curGap = computed(() => { - return dashboardActive.value && canvasStyleData.value.dashboard.gap === 'yes' - ? canvasStyleData.value.dashboard.gapSize + return dashboardActive.value && canvasStyleData.value?.dashboard?.gap === 'yes' + ? canvasStyleData.value?.dashboard?.gapSize : 0 }) diff --git a/core/core-frontend/src/custom-component/common/TabCarouselSetting.vue b/core/core-frontend/src/custom-component/common/TabCarouselSetting.vue index fefc1e376d..f4d9a8c3ea 100644 --- a/core/core-frontend/src/custom-component/common/TabCarouselSetting.vue +++ b/core/core-frontend/src/custom-component/common/TabCarouselSetting.vue @@ -51,7 +51,7 @@ const handleInput = value => { title="轮播" > - +