修改一处代码
This commit is contained in:
parent
58f624cc81
commit
a2e2a05689
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue