|
|
|
@ -177,9 +177,9 @@ export default { |
|
|
|
return newList |
|
|
|
}, |
|
|
|
async getHomeListImage() { |
|
|
|
uni.hideLoading() |
|
|
|
this.gdlist.data.forEach((item, key) => { |
|
|
|
if (item.goods_image === "") { |
|
|
|
uni.hideLoading() |
|
|
|
Gapi.nbgoodsImage({"id": item.id}).then(res2 => { |
|
|
|
if (res2.code === 200) { |
|
|
|
this.gdlist.data[key].goods_image = res2.data.data[0].goods_image; |
|
|
|
|