Commit 93088d6b by 段启岩

更新登录后的路由

parent 56c7ac6a
......@@ -210,7 +210,7 @@ export default {
type: 'success',
message: '登录成功!'
});
if (!this.from || this.from === '/users/register') {
if (!this.from || this.from === '/users/register' || this.from === '/users/reset') {
this.$router.push(this.from)
} else {
this.$router.push('/')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment