forked from github/dataease
fix(数据大屏、仪表板): 修复Tab内组件小尺寸移动可能未保存问题
This commit is contained in:
parent
3760e58166
commit
bb9066da99
@ -865,7 +865,13 @@ const componentBackgroundStyle = computed(() => {
|
|||||||
innerPadding,
|
innerPadding,
|
||||||
borderRadius
|
borderRadius
|
||||||
} = element.value.commonBackground
|
} = element.value.commonBackground
|
||||||
const style = { padding: innerPadding * scale.value + 'px', borderRadius: borderRadius + 'px' }
|
const innerPaddingTarget = ['Group', 'DeTabs'].includes(element.value.component)
|
||||||
|
? 0
|
||||||
|
: innerPadding
|
||||||
|
const style = {
|
||||||
|
padding: innerPaddingTarget * scale.value + 'px',
|
||||||
|
borderRadius: borderRadius + 'px'
|
||||||
|
}
|
||||||
let colorRGBA = ''
|
let colorRGBA = ''
|
||||||
if (backgroundColorSelect && backgroundColor) {
|
if (backgroundColorSelect && backgroundColor) {
|
||||||
colorRGBA = backgroundColor
|
colorRGBA = backgroundColor
|
||||||
|
Loading…
Reference in New Issue
Block a user