forked from github/dataease
Merge pull request #12143 from dataease/pr@dev-v2@fix_tab-gap
feat(仪表板): 修复tab中的组件,在编辑的时候组件之后有空隙,在预览界面,无空隙问题 #12132
This commit is contained in:
commit
2a84294329
@ -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
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user