diff --git a/pages/goods_details/index.vue b/pages/goods_details/index.vue index e8bd8b5..e99fd71 100644 --- a/pages/goods_details/index.vue +++ b/pages/goods_details/index.vue @@ -893,9 +893,7 @@ getConfig() { let self = this // 获取配置 - getconfig().then(res => { - - }).catch(err => {}) + getconfig().then(res => {}).catch(err => {}) }, /**到货通知*/ arrivalNotice() { diff --git a/pages/store/home/index.vue b/pages/store/home/index.vue index 32913bc..dff0ca0 100644 --- a/pages/store/home/index.vue +++ b/pages/store/home/index.vue @@ -607,7 +607,8 @@ this.getMerClassifly(); // 购物车 - this.getCart(); + if (this.isLogin) + this.getCart(); }, /**