oa 修改

This commit is contained in:
liuyu 2024-03-14 12:27:54 +08:00
parent b3308883c9
commit c9a64e7331

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>