1.购物车一个不选时计算错误

2024.1.16 sws
This commit is contained in:
sws
2024-01-16 19:17:06 +08:00
parent ce8e1b1785
commit 5bd5dbdda9
2 changed files with 12 additions and 4 deletions

View File

@ -1001,6 +1001,14 @@
}
}
if (selected_count <= 0) {
this.setData({
preferential_price: 0,
increase_price: 0,
total_price: 0,
all_total_price: 0,
total_num: 0,
discount_detail_list: [],
});
return false;
}

View File

@ -6,10 +6,10 @@
"es": "西班牙语"
},
"common": {
"home":"首页",
"category":"分类",
"cart":"购物车",
"my":"我的",
"home": "首页",
"category": "分类",
"cart": "购物车",
"my": "我的",
"confirm": "确认",
"cancel": "取消",
"not_yet": "暂不",