【修复】修复用户下单界面传递购物车数据接口未合理判断,导致积分兑换金额异常的问题。

This commit is contained in:
大灰灰
2022-05-09 01:14:48 +08:00
parent 6655f670e0
commit 7ec9a09c17
2 changed files with 10 additions and 2 deletions

View File

@@ -123,6 +123,7 @@
onShow() {
let userToken = this.$db.get('userToken');
if (userToken) {
this.cartIds = [];
this.getCartData(); //获取购物车数据
// 初始化时候计算总价如果使用api 获取购物车项目在 api 请求完成后执行此函数
//this.countTotoal();