chenxiong il y a 3 ans
Parent
commit
c5cc779e0c
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      pages/index/index.vue

+ 4 - 1
pages/index/index.vue

@@ -183,7 +183,10 @@ export default {
 	},
 	onPullDownRefresh() {},
 	async onLoad(option) {
-		await this.getUserInfo();
+		if(this.$method.isLogin()) {
+			await this.getUserInfo()
+		}
+		
 		this.courseList();
 		this.bankList();
 		this.getAdvertising();