forked from github/dataease
fix(仪表板): 修复圆角属性无法影响图片等组件的问题
This commit is contained in:
parent
7756cdd87d
commit
7f8926b5d6
@ -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 {}
|
||||
|
Loading…
Reference in New Issue
Block a user