Преглед изворни кода

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: {
 			// 查询基本设置