mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 00:49:49 +08:00
【修复】修复用户下单界面传递购物车数据接口未合理判断,导致积分兑换金额异常的问题。
This commit is contained in:
@@ -123,6 +123,7 @@
|
||||
onShow() {
|
||||
let userToken = this.$db.get('userToken');
|
||||
if (userToken) {
|
||||
this.cartIds = [];
|
||||
this.getCartData(); //获取购物车数据
|
||||
// 初始化时候计算总价,如果使用api 获取购物车项目在 api 请求完成后执行此函数
|
||||
//this.countTotoal();
|
||||
|
||||
Reference in New Issue
Block a user