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