Merge remote-tracking branch 'origin/develop' into local-test
All checks were successful
CI / Docker-Build (push) Successful in 2m55s

This commit is contained in:
joylink_fanyuhong 2024-04-29 14:40:51 +08:00
commit de618063f2

View File

@ -53,7 +53,7 @@ const props = defineProps({
required: true, required: true,
}, },
}); });
const connType = ref<number>(0); const connType = ref<number | undefined>();
const connectOptions = ref<{ label: string; value: number }[]>([]); const connectOptions = ref<{ label: string; value: number }[]>([]);
const showLoadTransData = ref(true); const showLoadTransData = ref(true);
@ -85,7 +85,7 @@ function onCreate() {
updateTrainConn({ updateTrainConn({
id: props.trainId + '', id: props.trainId + '',
simulationId: props.simulationId, simulationId: props.simulationId,
connType: connType.value, connType: connType.value as number,
}) })
.then(() => { .then(() => {
successNotify('列车连接成功!'); successNotify('列车连接成功!');