chenxiong před 3 roky
rodič
revize
c5cc779e0c
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  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();