From ac8c1935860e38ee24cae4cc91329a0dd06196fe Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Mon, 29 Apr 2024 14:40:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=BD=A6=E8=BF=9E=E6=8E=A5=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/draw-app/dialogs/SetTrainLink.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/draw-app/dialogs/SetTrainLink.vue b/src/components/draw-app/dialogs/SetTrainLink.vue index c1902f7..e1f1e7a 100644 --- a/src/components/draw-app/dialogs/SetTrainLink.vue +++ b/src/components/draw-app/dialogs/SetTrainLink.vue @@ -53,7 +53,7 @@ const props = defineProps({ required: true, }, }); -const connType = ref(0); +const connType = ref(); const connectOptions = ref<{ label: string; value: number }[]>([]); const showLoadTransData = ref(true); @@ -85,7 +85,7 @@ function onCreate() { updateTrainConn({ id: props.trainId + '', simulationId: props.simulationId, - connType: connType.value, + connType: connType.value as number, }) .then(() => { successNotify('列车连接成功!');