mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 11:21:44 +08:00
fix(图表): DeTabs组件与UserView统一边框样式处理逻辑
This commit is contained in:
@@ -316,7 +316,7 @@ const componentBackgroundStyle = computed(() => {
|
||||
} else {
|
||||
style['background-color'] = colorRGBA
|
||||
}
|
||||
if (config.value.component !== 'UserView') {
|
||||
if (!['DeTabs', 'UserView'].includes(config.value.component)) {
|
||||
style['overflow'] = 'hidden'
|
||||
}
|
||||
if (backdropFilterEnable) {
|
||||
|
||||
@@ -1000,7 +1000,7 @@ const componentBackgroundStyle = computed(() => {
|
||||
if (element.value.commonBackground && element.value.component !== 'GroupArea') {
|
||||
return getComponentBackgroundStyle(element.value.commonBackground, {
|
||||
scale: scale.value,
|
||||
isUserView: element.value.component === 'UserView',
|
||||
isUserView: ['DeTabs', 'UserView'].includes(element.value.component),
|
||||
forceNoPadding: ['Group'].includes(element.value.component)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user