Commit 25dcf8ac authored by 罗林杰's avatar 罗林杰

修改关注

parent b2bb1b28
...@@ -140,11 +140,13 @@ ...@@ -140,11 +140,13 @@
rows: this.queryParam.rows rows: this.queryParam.rows
} }
bannerList(query).then(res =>{ bannerList(query).then(res =>{
let imgList = []
res.data.data.forEach(item => { res.data.data.forEach(item => {
getOssUrl(item.pictureId).then(imgRes => { getOssUrl(item.pictureId).then(imgRes => {
this.bannerList.push(imgRes.data.data) imgList.push(imgRes.data.data)
}) })
}) })
this.bannerList = imgList
}).catch(e => { }).catch(e => {
console.log(e) console.log(e)
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment