chenxiong 3 年 前
コミット
9440b1bcd7
1 ファイル変更6 行追加1 行削除
  1. 6 1
      pages/index/index.vue

+ 6 - 1
pages/index/index.vue

@@ -184,7 +184,12 @@ export default {
 	onPullDownRefresh() {},
 	async onLoad(option) {
 		if(this.$method.isLogin()) {
-			await this.getUserInfo()
+			try  {
+				await this.getUserInfo()
+			}catch(err) {
+				
+			}
+			
 		}
 		
 		this.courseList();