fix: 画布切换背景图片 图片是空依然显示颜色的问题

This commit is contained in:
wangjiahao 2021-06-04 15:45:41 +08:00
parent aefa3cb302
commit e0136d7530

View File

@ -160,7 +160,7 @@ export default {
background: `url(${this.canvasStyleData.panel.imageUrl}) no-repeat`,
...style
}
} else {
} else if (this.canvasStyleData.panel.backgroundType === 'color') {
style = {
background: this.canvasStyleData.panel.color,
...style