提交 7ff46ff8 authored 作者: wangjiahao's avatar wangjiahao

fix: 背景图片空url 问题

上级 104a8a48
......@@ -22,10 +22,14 @@ export default {
},
computed: {
classBackground() {
if (this.template.snapshot) {
return {
background: `url(${this.template.snapshot}) no-repeat`,
'background-size': `100% 100%`
}
} else {
return {}
}
}
},
methods: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论