修改一处代码

This commit is contained in:
TOP糯米 2023-04-08 01:03:28 +08:00
parent 58f624cc81
commit a2e2a05689
1 changed files with 1 additions and 2 deletions

View File

@ -74,8 +74,7 @@ export default {
initPage(e) {
this.pageConfig = getApp().globalData.pageConfig;
if (this.isLogin) {
this.$store.dispatch("cart/updateCount");
this.$store.dispatch("cart/briefCart");
this.$store.dispatch("cart/updateAll");
}
this.canUse = this.cartCount > 0;
if (!e.id) {