|
@@ -188,7 +188,9 @@ const arriveNo = ref('')
|
|
|
// 获取目的地信息
|
|
|
const getDestinationOptions = computed(() => {
|
|
|
if (!vehicleInfo.value.ccmNo) return []
|
|
|
- return destinationOptions[String(vehicleInfo.value.ccmNo)].map((oitem: MConfigProps) => oitem)
|
|
|
+ return destinationOptions[String(vehicleInfo.value.ccmNo)]
|
|
|
+ ? destinationOptions[String(vehicleInfo.value.ccmNo)].map((oitem: MConfigProps) => oitem)
|
|
|
+ : []
|
|
|
})
|
|
|
|
|
|
const carsOptions = ref<{ label: string; value: string }[]>([])
|