Commit 0866b32c authored by youjie's avatar youjie

no message

parent 45f8e3e2
......@@ -155,7 +155,7 @@ import useMetaModule from '../../module/meta/metaModule'
import { ApiResult } from 'src/@types/enumHelper'
import HotelService from 'src/api/hotel'
import { DirtionmaryHelper } from 'src/config/dictionary'
import { currentRouter } from '../../src/router'
import { currentRouter } from 'src/router'
import message from 'src/utils/message'
import { defineComponent, inject, provide, reactive, ref, toRefs } from 'vue'
import { useI18n } from 'vue-i18n'
......@@ -212,9 +212,7 @@ export default defineComponent({
{ Name: t('hotel.car.group'), ID: 2 }
]
})
if(currentRouter.value.params.orderId){
data.orderId = currentRouter.value.params.orderId
}
data.orderId = 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