修改小程序bug

This commit is contained in:
邓洁
2023-02-24 12:20:41 +08:00
parent e5c257ed2d
commit afccd4c183
9 changed files with 32 additions and 24 deletions

View File

@@ -141,10 +141,12 @@
getBanner() {
this.$apiServe.getBanner().then(res => {
let banner = res.data.data
for (const item of banner) {
item.img = this.imgUrl + item.img
if (banner) {
for (const item of banner) {
item.img = this.imgUrl + item.img
}
this.swiperList = res.data.data
}
this.swiperList = res.data.data
}).finally(_ => {})
},
//点击轮播图