tangqiang 6 years ago
parent
commit
246d7e85c1
2 changed files with 4 additions and 2 deletions
  1. 1 1
      App.vue
  2. 3 1
      pages/index/index.vue

+ 1 - 1
App.vue

@@ -10,7 +10,7 @@
 			open_id:'',
 			user_name:'',
 			user_headUrl:'',
-			isAuth:'',
+			isAuth:true,
 			sessionId: '',
 			cleanPayTime: '',
 			pageSize: 5, // 列表加载的pageSize

+ 3 - 1
pages/index/index.vue

@@ -233,7 +233,9 @@
 							 that.getHistory();
 						}else{
 							getApp().globalData.session_key = res.data.msg.session_key;
-							that.isAuth = isAuth;
+							that.isAuth = isAuth;
+							getApp().globalData.isAuth = isAuth;
+							
 							wx.hideLoading();
 							
 						}