From 6440a1623102813738ccf7ccf01cee063c5c42e0 Mon Sep 17 00:00:00 2001 From: liaoanqi <1776106376@qq.com> Date: Tue, 13 Sep 2022 09:37:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mall4m/pages/index/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mall4m/pages/index/index.js b/mall4m/pages/index/index.js index 422a588..89771ac 100644 --- a/mall4m/pages/index/index.js +++ b/mall4m/pages/index/index.js @@ -154,6 +154,7 @@ Page({ totalCartNum: ths.data.totalCartNum + ths.data.prodNum }); wx.hideLoading(); + http.getCartCount(); //重新计算购物车总数量 wx.showToast({ title: "加入购物车成功", icon: "none"