<div class="container" :style="style"></div>
.container {
background: none 0 0 no-repeat;
}
computed: {
style() {
return {'background-image': `url(${this.xqBg})`};
}
},
<div class="container" :style="style"></div>
.container {
background: none 0 0 no-repeat;
}
computed: {
style() {
return {'background-image': `url(${this.xqBg})`};
}
},