guhongwei 2 years ago
parent
commit
2184c827ad
1 changed files with 3 additions and 3 deletions
  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: {
 			// 查询基本设置