修复上一个用户登录后切换到下一个用户登录是跳转到404的bug

pull/95/head
ahhui 2023-04-16 23:24:42 +08:00
parent 4ce9e237a6
commit 2ad9334563
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ export default {
})
.then(() => {
//
this.$router.replace(this.$route.query.redirect || '/')
// this.$router.replace(this.$route.query.redirect || '/')
this.$router.replace('/')
})
.catch(() => {
this.getCaptcha()