forked from github/dataease
feat(查询组件): 查询组件可以上传图片当作背景 #11585
This commit is contained in:
parent
f806c4847e
commit
1be811828d
@ -195,7 +195,7 @@ const componentBackgroundStyle = computed(() => {
|
|||||||
if (backgroundColorSelect && backgroundColor) {
|
if (backgroundColorSelect && backgroundColor) {
|
||||||
colorRGBA = backgroundColor
|
colorRGBA = backgroundColor
|
||||||
}
|
}
|
||||||
if (backgroundImageEnable) {
|
if (backgroundImageEnable || (config.value.innerType === 'VQuery' && backgroundColorSelect)) {
|
||||||
if (backgroundType === 'outerImage' && typeof outerImage === 'string') {
|
if (backgroundType === 'outerImage' && typeof outerImage === 'string') {
|
||||||
style['background'] = `url(${imgUrlTrans(outerImage)}) no-repeat ${colorRGBA}`
|
style['background'] = `url(${imgUrlTrans(outerImage)}) no-repeat ${colorRGBA}`
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user