Pārlūkot izejas kodu

优化接口刷新频率

zhengkaixin 2 gadi atpakaļ
vecāks
revīzija
f6d141c320
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      pages/searchPile/searchPile.vue

+ 4 - 1
pages/searchPile/searchPile.vue

@@ -1175,7 +1175,10 @@ export default {
 //			//('latitude1  ' + this.latitude);
 			//this.start();
 			//this.$refs.amap.getLocation1();
-			this.getNearbyStationInfo();
+			//this.getNearbyStationInfo();
+			let data2 = {latitude:this.latitude,longtitude:this.longitude,findType:"0"};
+			this.getChargingStationData(data2);
+			
 			this.isReady = true;
 			//this.$refs.amap.getLocation ();
 			//let state = {};