Commit 8141e3eb authored by youjie's avatar youjie

no message

parent ae9b8e27
......@@ -38,7 +38,7 @@ export default defineComponent({
ContactName:'',
ContactNumber:''
})
search.OrderId = currentRouter.currentRoute.value.params.orderId
search.OrderId = currentRouter.currentRoute.value&&currentRouter.currentRoute.value.params.orderId
provide(DirtionmaryHelper.HOTEL_ORDER_SEARCH,search)
const menu=inject(DirtionmaryHelper.MENU_KEYS) as any
......
......@@ -213,7 +213,7 @@ export default defineComponent({
{ Name: t('hotel.car.group'), ID: 2 }
]
})
data.orderId = currentRouter.currentRoute.value.params.orderId
data.orderId = currentRouter.currentRoute.value&&currentRouter.currentRoute.value.params.orderId
if (data.orderId == 0) {
history.back()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment