guhongwei 2 gadi atpakaļ
vecāks
revīzija
2184c827ad
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  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: {
 			// 查询基本设置