bill 8 mesi fa
parent
commit
fee98325c0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/path/sign.vue

+ 1 - 1
src/components/path/sign.vue

@@ -64,7 +64,7 @@ path.bus.on("changePoints", (points) => {
   console.log(points);
   clearTimeout(changPointsTimeout);
   currentPoints = points.map((p, ndx) => ({
-    name: p?.name || `标记点${ndx + 1}`,
+    name: p.name,
     position: { ...p.position },
     modelId: p.modelId,
   }));