oa 修改

pull/420/head
liuyu 2024-03-14 12:27:54 +08:00
parent b3308883c9
commit c9a64e7331
1 changed files with 8 additions and 8 deletions

View File

@ -35,8 +35,8 @@ defineOptions({ name: 'BpmOALeave' })
const { t } = useI18n() //
const message = useMessage() //
const { push, router } = useRouter() //
const { push } = useRouter() //
const router = useRouter() //
const [registerTable, { reload }] = useXTable({
allSchemas: allSchemas,
getListApi: LeaveApi.getLeavePageApi
@ -84,10 +84,10 @@ const handleProcessDetail = (row) => {
}
// fix:
// watch(
// () => router.currentRoute.value,
// () => {
// reload()
// }
// )
watch(
() => router.currentRoute.value,
() => {
reload()
}
)
</script>