This commit is contained in:
2026-04-04 18:09:09 +08:00
parent 46bbce84aa
commit 3b8c991e1a
6 changed files with 98 additions and 29 deletions

View File

@ -274,8 +274,7 @@ export default {
})
.then((res) => {
const list = res?.data || [];
this.goodsList =
this.page === 1 ? list : [...this.goodsList, ...list];
this.goodsList = list;
this.total = res?.count || 0;
})
.finally(() => {
@ -397,8 +396,8 @@ export default {
product_id: good.product_id,
product_name: good.product_name,
product_pic: good.product_pic,
goods_price: good.prices?.[0]?.actual_price,
product_price: good.prices?.[0]?.actual_price,
goods_price: good.prices?.[0]?.actual_price / 100,
product_price: good.prices?.[0]?.actual_price / 100,
original_price: good.prices?.[0]?.original_price,
yunfei: good.yunfei || 0,
},