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){