Procházet zdrojové kódy

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

zhujindu před 3 měsíci
rodič
revize
65a9904bb3
1 změnil soubory, kde provedl 5 přidání a 5 odebrání
  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();
     },