mirror of
https://gitee.com/gz-yami/mall4m.git
synced 2025-12-26 07:06:28 +08:00
优化购物车数量
This commit is contained in:
parent
34722f590b
commit
ac96bbb0a3
@ -154,6 +154,7 @@ Page({
|
||||
totalCartNum: ths.data.totalCartNum + ths.data.prodNum
|
||||
});
|
||||
wx.hideLoading();
|
||||
http.getCartCount(); //重新计算购物车总数量
|
||||
wx.showToast({
|
||||
title: "加入购物车成功",
|
||||
icon: "none"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user