chenxiong 3 năm trước cách đây
mục cha
commit
2d4167d580
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/index/index.vue

+ 1 - 1
pages/index/index.vue

@@ -193,7 +193,7 @@ export default {
 			uni.removeStorageSync('updateHome'); //消费首页刷新事件
 		}
 		
-		if(this.isLogin){
+		if(this.$method.isLogin()){
 			this.$store.state.allowLoading = false;
 			this.$api.getinfoAttached().then(res => {
 				if(res.data.code ===200){