瀏覽代碼

优化接口刷新频率

zhengkaixin 2 年之前
父節點
當前提交
f6d141c320
共有 1 個文件被更改,包括 4 次插入1 次删除
  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 = {};