Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
ef5adf2e
Commit
ef5adf2e
authored
Jun 04, 2020
by
Elune
Committed by
Gitee
Jun 04, 2020
Browse files
update ruoyi-ui/src/permission.js.
修复退出登录重定向到登录页,登录后参数丢失。/article?id=6
https://github.com/elunez/eladmin-web/pull/94
parent
ff695831
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/permission.js
View file @
ef5adf2e
...
...
@@ -53,7 +53,7 @@ router.beforeEach((to, from, next) => {
// 在免登录白名单,直接进入
next
()
}
else
{
next
(
`/login?redirect=
${
to
.
p
ath
}
`
)
// 否则全部重定向到登录页
next
(
`/login?redirect=
${
to
.
fullP
ath
}
`
)
// 否则全部重定向到登录页
NProgress
.
done
()
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment