列车连接处理
This commit is contained in:
parent
203525e371
commit
ac8c193586
@ -53,7 +53,7 @@ const props = defineProps({
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
const connType = ref<number>(0);
|
||||
const connType = ref<number | undefined>();
|
||||
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('列车连接成功!');
|
||||
|
Loading…
Reference in New Issue
Block a user