修改小程序bug

This commit is contained in:
邓洁
2023-05-07 23:08:10 +08:00
parent 5d4ffc01c7
commit 210afd8c84
3 changed files with 26 additions and 19 deletions

View File

@@ -140,7 +140,9 @@
//获取首页轮播图
getBanner() {
this.$apiServe.getBanner().then(res => {
let banner = res.data.data
console.log('轮播图', banner);
if (banner) {
for (const item of banner) {
item.img = this.imgUrl + item.img