Merge pull request #9078 from dataease/pr@dev-v2@fix_radio

fix(仪表板): 修复圆角属性无法影响图片等组件的问题
This commit is contained in:
王嘉豪 2024-04-12 11:13:45 +08:00 committed by GitHub
commit 8f5b9cd2f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -154,6 +154,9 @@ const componentBackgroundStyle = computed(() => {
} else {
style['background-color'] = colorRGBA
}
if (element.value.component !== 'UserView') {
style['overflow'] = 'hidden'
}
return style
}
return {}

View File

@ -789,6 +789,9 @@ const componentBackgroundStyle = computed(() => {
} else {
style['background-color'] = colorRGBA
}
if (element.value.component !== 'UserView') {
style['overflow'] = 'hidden'
}
return style
}
return {}