forked from github/dataease
fix: 画布切换背景图片 图片是空依然显示颜色的问题
This commit is contained in:
parent
aefa3cb302
commit
e0136d7530
@ -160,7 +160,7 @@ export default {
|
|||||||
background: `url(${this.canvasStyleData.panel.imageUrl}) no-repeat`,
|
background: `url(${this.canvasStyleData.panel.imageUrl}) no-repeat`,
|
||||||
...style
|
...style
|
||||||
}
|
}
|
||||||
} else {
|
} else if (this.canvasStyleData.panel.backgroundType === 'color') {
|
||||||
style = {
|
style = {
|
||||||
background: this.canvasStyleData.panel.color,
|
background: this.canvasStyleData.panel.color,
|
||||||
...style
|
...style
|
||||||
|
Loading…
Reference in New Issue
Block a user