Browse Source

地图初始化后,不默认坐标

yukai 1 year ago
parent
commit
60fde5555c
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/views/iot/device/instance/component/map.vue

+ 8 - 0
src/views/iot/device/instance/component/map.vue

@@ -60,6 +60,14 @@
         setAddressByCoordinate(lng.value, lat.value);
         setAddressByCoordinate(lng.value, lat.value);
       });
       });
     });
     });
+
+
+    lng.value="";
+    lat.value="";
+    searchKeyword.value="";
+
+
+
   };
   };
   
   
   const confirmAddress = () => {
   const confirmAddress = () => {