修改一处代码
This commit is contained in:
parent
58f624cc81
commit
a2e2a05689
|
@ -74,8 +74,7 @@ export default {
|
||||||
initPage(e) {
|
initPage(e) {
|
||||||
this.pageConfig = getApp().globalData.pageConfig;
|
this.pageConfig = getApp().globalData.pageConfig;
|
||||||
if (this.isLogin) {
|
if (this.isLogin) {
|
||||||
this.$store.dispatch("cart/updateCount");
|
this.$store.dispatch("cart/updateAll");
|
||||||
this.$store.dispatch("cart/briefCart");
|
|
||||||
}
|
}
|
||||||
this.canUse = this.cartCount > 0;
|
this.canUse = this.cartCount > 0;
|
||||||
if (!e.id) {
|
if (!e.id) {
|
||||||
|
|
Loading…
Reference in New Issue