chenxiong 3 년 전
부모
커밋
2d4167d580
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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){