地址修改 购物车修改

This commit is contained in:
@fawn-nine
2024-07-02 14:44:24 +08:00
parent 327e96d7cd
commit 5b3f61e90a
7 changed files with 17 additions and 15 deletions

View File

@@ -717,8 +717,8 @@
let data = {
"userId": this.userInfo.id,
"productId": item.productId,
"productAmount": this.productAmount,
"price": item.price
"productAmount": 1,
"price": item.activityPrice && item.activityPrice != 0 ? item.activityPrice : item.price
}
// 判断列表是否为空
if (this.cartList.length > 0) {