修复上一个用户登录后切换到下一个用户登录是跳转到404的bug
parent
4ce9e237a6
commit
2ad9334563
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue