!23 修复退出登录重定向到登录页,登录后参数丢失 update ruoyi-ui/src/permission.js.

Merge pull request !23 from Elune/N/A
This commit is contained in:
若依 2020-06-04 14:57:05 +08:00 committed by Gitee
commit 40185f27e2
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ router.beforeEach((to, from, next) => {
// 在免登录白名单,直接进入 // 在免登录白名单,直接进入
next() next()
} else { } else {
next(`/login?redirect=${to.path}`) // 否则全部重定向到登录页 next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
NProgress.done() NProgress.done()
} }
} }