refactor: update goods list fetching to use currentGoodsId

This commit is contained in:
misworga831
2024-11-21 10:30:31 +08:00
parent 75991db6f6
commit 2cd7b7b63f

View File

@@ -793,8 +793,8 @@ export default {
getGoodsList({
pageNumber: 1,
pageSize: 10,
category: this.goodsDetail.categoryId,
keyword: this.goodsDetail.name,
currentGoodsId: this.goodsDetail.id,
keyword: this.goodsDetail.name
}).then((res) => {
this.likeGoodsList = res.data.result.records;
});