fix: 🐛 后端修改es商品返回数据字段,前端同步

This commit is contained in:
Yer
2023-04-28 10:21:36 +08:00
parent c04ae5eb39
commit 89f4e051ca
3 changed files with 4 additions and 4 deletions

View File

@@ -145,7 +145,7 @@ export default {
const res = await getGoodsList(this.params);
if (res.data.success) {
this.goodsResult = res.data.result
const result = res.data.result.content.map(item=>item.content)
const result = res.data.result.records
this.goodsData.push(...result);
console.log(this.goodsData)
}