浏览代码

修复bug

chenxiong 3 年之前
父节点
当前提交
a0b2e3a869
共有 1 个文件被更改,包括 3 次插入3 次删除
  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() {