style: 后端ES接口返回格式调整,前端字段调整

This commit is contained in:
学习很差啦
2023-04-04 16:07:22 +08:00
parent f0dcf473e8
commit c097a423f9
7 changed files with 44 additions and 44 deletions

View File

@@ -59,11 +59,11 @@ export default {
}
});
let goodsList = await getGoodsList(submit);
this.goodsList.push(...goodsList.data.result.content);
this.goodsList.push(...goodsList.data.result.records);
},
handleClick(item) {
uni.navigateTo({
url: `/pages/product/goods?id=${item.content.id}&goodsId=${item.content.goodsId}`,
url: `/pages/product/goods?id=${item.id}&goodsId=${item.goodsId}`,
});
},
},