Commit 3c5c3ae1 authored by 谢卓城's avatar 谢卓城

修复:购物车商品数量减少逻辑错误

parent 72060550
......@@ -247,7 +247,9 @@ Page({
return
}
let totalPrice = this.data.totalPrice
totalPrice = totalPrice - goods.goodsPrice
if (goods.isSelect) {
totalPrice = totalPrice - goods.goodsPrice
}
goods.goodsCount = number
this.setData({
goodsList: goodsList,
......
......@@ -32,7 +32,6 @@
},
"compileType": "miniprogram",
"libVersion": "2.14.1",
"appid": "wx8b5f30d2d4a5a6e0",
"projectname": "ChengjingPremiumMember",
"debugOptions": {
"hidedInDevtools": []
......@@ -41,6 +40,7 @@
"isGameTourist": false,
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"appid": "wx8b5f30d2d4a5a6e0",
"condition": {
"search": {
"list": []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment