diff --git a/src/components/draw-app/properties/SignalProperty.vue b/src/components/draw-app/properties/SignalProperty.vue index 1748aff..f2688bd 100644 --- a/src/components/draw-app/properties/SignalProperty.vue +++ b/src/components/draw-app/properties/SignalProperty.vue @@ -49,9 +49,9 @@ onMounted(() => { function onUpdate() { signalModel.direction = (directionSelect as never)[signalDirection.value]; - const platform = drawStore.selectedGraphic as Signal; - if (platform) { - drawStore.getDrawApp().updateGraphicAndRecord(platform, signalModel); + const signal = drawStore.selectedGraphic as Signal; + if (signal) { + drawStore.getDrawApp().updateGraphicAndRecord(signal, signalModel); } }