mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-04 22:41:24 +08:00
Fixed the bug that the login expired and did not jump
This commit is contained in:
@@ -35,7 +35,7 @@ service.interceptors.response.use(
|
||||
message: '<strong>登录已过期</strong>'
|
||||
})
|
||||
setTimeout(function () {
|
||||
void router.push({ name: 'Login' })
|
||||
router.go(0)
|
||||
}, 1500)
|
||||
}
|
||||
return response
|
||||
|
||||
Reference in New Issue
Block a user