Kaynağa Gözat

地图定位

yangyuxuan 1 ay önce
ebeveyn
işleme
610a7d5147
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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);
     });
   });