Merge pull request #11772 from dataease/pr@dev-v2@fix_tab

fix(数据大屏、仪表板): 修复Tab页初次预览不显示问题,轮播时间输入回车页面筛选等问题
This commit is contained in:
王嘉豪 2024-08-27 10:24:10 +08:00 committed by GitHub
commit 8bbe53f608
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -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
})

View File

@ -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
})

View File

@ -51,7 +51,7 @@ const handleInput = value => {
title="轮播"
>
<el-row class="custom-row">
<el-form label-position="top">
<el-form label-position="top" @submit.prevent>
<el-form-item
class="form-item"
:class="'form-item-' + themes"