mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(仪表板): 修复圆角属性无法影响图片等组件的问题
This commit is contained in:
@@ -154,6 +154,9 @@ const componentBackgroundStyle = computed(() => {
|
||||
} else {
|
||||
style['background-color'] = colorRGBA
|
||||
}
|
||||
if (element.value.component !== 'UserView') {
|
||||
style['overflow'] = 'hidden'
|
||||
}
|
||||
return style
|
||||
}
|
||||
return {}
|
||||
|
||||
@@ -789,6 +789,9 @@ const componentBackgroundStyle = computed(() => {
|
||||
} else {
|
||||
style['background-color'] = colorRGBA
|
||||
}
|
||||
if (element.value.component !== 'UserView') {
|
||||
style['overflow'] = 'hidden'
|
||||
}
|
||||
return style
|
||||
}
|
||||
return {}
|
||||
|
||||
Reference in New Issue
Block a user