提交 104a8a48 authored 作者: wangjiahao's avatar wangjiahao

fix: 背景图片空url 问题

上级 776e1feb
...@@ -58,8 +58,12 @@ export default { ...@@ -58,8 +58,12 @@ export default {
}, },
computed: { computed: {
classBackground() { classBackground() {
return { if (this.importTemplateInfo.snapshot) {
background: `url(${this.importTemplateInfo.snapshot}) no-repeat` return {
background: `url(${this.importTemplateInfo.snapshot}) no-repeat`
}
} else {
return {}
} }
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论