瀏覽代碼

修复bug

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();