diff --git a/src/components/draw-app/properties/CurvatureKiloMarkerProperty.vue b/src/components/draw-app/properties/CurvatureKiloMarkerProperty.vue index 5674d06..1c4e491 100644 --- a/src/components/draw-app/properties/CurvatureKiloMarkerProperty.vue +++ b/src/components/draw-app/properties/CurvatureKiloMarkerProperty.vue @@ -40,6 +40,12 @@ watchEffect(() => { ks.kilometer = kiloMarkerModel.value.kilometerSystem[i].kilometer; ks.direction = kiloMarkerModel.value.kilometerSystem[i].direction; }); + } else { + kilometerSystem.forEach((ks) => { + ks.coordinateSystem = ''; + ks.kilometer = 0; + ks.direction = 0; + }); } } }); diff --git a/src/components/draw-app/properties/SlopeKiloMarkerProperty.vue b/src/components/draw-app/properties/SlopeKiloMarkerProperty.vue index 350a0c6..6c99ad5 100644 --- a/src/components/draw-app/properties/SlopeKiloMarkerProperty.vue +++ b/src/components/draw-app/properties/SlopeKiloMarkerProperty.vue @@ -40,6 +40,12 @@ watchEffect(() => { ks.kilometer = kiloMarkerModel.value.kilometerSystem[i].kilometer; ks.direction = kiloMarkerModel.value.kilometerSystem[i].direction; }); + } else { + kilometerSystem.forEach((ks) => { + ks.coordinateSystem = ''; + ks.kilometer = 0; + ks.direction = 0; + }); } } });