feat(查询组件): 查询组件可以上传图片当作背景 #11585

This commit is contained in:
dataeaseShu
2024-09-29 16:27:28 +08:00
parent 226049e5e3
commit f806c4847e
2 changed files with 243 additions and 7 deletions

View File

@@ -869,7 +869,7 @@ const componentBackgroundStyle = computed(() => {
if (backgroundColorSelect && backgroundColor) {
colorRGBA = backgroundColor
}
if (backgroundImageEnable) {
if (backgroundImageEnable || (element.value.innerType === 'VQuery' && backgroundColorSelect)) {
if (backgroundType === 'outerImage' && typeof outerImage === 'string') {
style['background'] = `url(${imgUrlTrans(outerImage)}) no-repeat ${colorRGBA}`
} else {