forked from github/dataease
fix: 背景图片空url 问题
This commit is contained in:
parent
104a8a48fa
commit
7ff46ff804
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user