forked from github/dataease
feat(仪表板): 修复tab中的组件,在编辑的时候组件之后有空隙,在预览界面,无空隙问题 #12132
This commit is contained in:
parent
3e6c65d30a
commit
6047b4d3fa
@ -253,8 +253,8 @@ const getShapeItemShowStyle = item => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const curGap = computed(() => {
|
const curGap = computed(() => {
|
||||||
return dashboardActive.value && canvasStyleData.value?.dashboard?.gap === 'yes'
|
return dashboardActive.value && dvMainStore.canvasStyleData.dashboard?.gap === 'yes'
|
||||||
? canvasStyleData.value?.dashboard?.gapSize
|
? dvMainStore.canvasStyleData?.dashboard?.gapSize
|
||||||
: 0
|
: 0
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user