From 2863a19b5c0cc24e7f780c220d3fd37f9d71696c Mon Sep 17 00:00:00 2001 From: fan Date: Tue, 6 Jun 2023 16:04:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=A1=E5=8F=B7=E6=9C=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/draw-app/properties/SignalProperty.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } }