浏览代码

Merge branch 'master' of http://git.cc-lotus.info/pointToNetwork/point-app

zs 2 年之前
父节点
当前提交
ed26286803
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pages/index/index.vue

+ 3 - 3
pages/index/index.vue

@@ -17,10 +17,10 @@
 			};
 		},
 		onLoad: function() {},
-		onShow: function() {
+		onShow: async function() {
 			const that = this;
-			that.searchConfig();
-			that.search();
+			await that.searchConfig();
+			await that.search();
 		},
 		methods: {
 			// 查询基本设置