oa 修改
This commit is contained in:
parent
b3308883c9
commit
c9a64e7331
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user