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
40185f27
Commit
40185f27
authored
Jun 04, 2020
by
若依
Committed by
Gitee
Jun 04, 2020
Browse files
!23 修复退出登录重定向到登录页,登录后参数丢失 update ruoyi-ui/src/permission.js.
Merge pull request !23 from Elune/N/A
parents
ff695831
ef5adf2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/permission.js
View file @
40185f27
...
...
@@ -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