소스 검색

feature_20250827_地图添加搜索当前范围功能

zhujindu 4 달 전
부모
커밋
65a9904bb3
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      src/views/deviceOutside/rangeStore.vue

+ 5 - 5
src/views/deviceOutside/rangeStore.vue

@@ -976,12 +976,12 @@ export default {
       this.getposition();
     },
     getLocationData() {
-      let currentCenter = this.CJ02BD(34.62200241805427, 112.45384320079718);
-      this.lon = currentCenter.lon;
-      this.lat = currentCenter.lat;
+      // let currentCenter = this.CJ02BD(34.62200241805427, 112.45384320079718);
+      // this.lon = currentCenter.lon;
+      // this.lat = currentCenter.lat;
 
-      // this.lon = this.currentCenter.lng;
-      // this.lat = this.currentCenter.lat;
+      this.lon = this.currentCenter.lng;
+      this.lat = this.currentCenter.lat;
       console.log(this.lon, this.lat);
       this.getUserOutPlaList();
     },