guhongwei 2 лет назад
Родитель
Сommit
2184c827ad
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      pages/index/index.vue

+ 3 - 3
pages/index/index.vue

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