chenxiong %!s(int64=3) %!d(string=hai) anos
pai
achega
9440b1bcd7
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  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();