yangyuxuan 1 ヶ月 前
コミット
610a7d5147
1 ファイル変更3 行追加1 行削除
  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);
     });
   });