Browse Source

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

yukai 1 năm trước cách đây
mục cha
commit
60fde5555c
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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);
       });
     });
+
+
+    lng.value="";
+    lat.value="";
+    searchKeyword.value="";
+
+
+
   };
   
   const confirmAddress = () => {