报错的static地址写法:
this.url = '../static/img.png'
this.url = '@/static/img.png'
正确的static地址写法:
this.url = '/static/img.png'
动态绑定
<image :src="url"></image>
报错的static地址写法:
this.url = '../static/img.png'
this.url = '@/static/img.png'
正确的static地址写法:
this.url = '/static/img.png'
动态绑定
<image :src="url"></image>