chenxiong 3 anni fa
parent
commit
a0b2e3a869
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      pages/index/index.vue

+ 3 - 3
pages/index/index.vue

@@ -183,6 +183,9 @@ export default {
 	},
 	onPullDownRefresh() {},
 	async onLoad(option) {
+		this.courseList();
+		this.bankList();
+		this.getAdvertising();
 		if(this.$method.isLogin()) {
 			try  {
 				await this.getUserInfo()
@@ -192,9 +195,6 @@ export default {
 			
 		}
 		
-		this.courseList();
-		this.bankList();
-		this.getAdvertising();
 		this.init()
 	},
 	onShow() {