Browse Source

地图定位

yangyuxuan 1 month ago
parent
commit
610a7d5147
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/routineCommandMap/PositionMap.vue

+ 3 - 1
src/views/routineCommandMap/PositionMap.vue

@@ -295,7 +295,9 @@ const initMap = () => {
     map.on('rightclick', handleRightclick);
     handleResize();
     map.on('complete', () => {
-      updateForm(position);
+      if (!props.id) {
+        updateForm(position);
+      }
       setMarks(position);
     });
   });