forked from github/dataease
Merge pull request #9078 from dataease/pr@dev-v2@fix_radio
fix(仪表板): 修复圆角属性无法影响图片等组件的问题
This commit is contained in:
commit
8f5b9cd2f4
@ -154,6 +154,9 @@ const componentBackgroundStyle = computed(() => {
|
|||||||
} else {
|
} else {
|
||||||
style['background-color'] = colorRGBA
|
style['background-color'] = colorRGBA
|
||||||
}
|
}
|
||||||
|
if (element.value.component !== 'UserView') {
|
||||||
|
style['overflow'] = 'hidden'
|
||||||
|
}
|
||||||
return style
|
return style
|
||||||
}
|
}
|
||||||
return {}
|
return {}
|
||||||
|
@ -789,6 +789,9 @@ const componentBackgroundStyle = computed(() => {
|
|||||||
} else {
|
} else {
|
||||||
style['background-color'] = colorRGBA
|
style['background-color'] = colorRGBA
|
||||||
}
|
}
|
||||||
|
if (element.value.component !== 'UserView') {
|
||||||
|
style['overflow'] = 'hidden'
|
||||||
|
}
|
||||||
return style
|
return style
|
||||||
}
|
}
|
||||||
return {}
|
return {}
|
||||||
|
Loading…
Reference in New Issue
Block a user