修复退出登录重定向到登录页,登录后参数丢失。

pull/6/head
RuoYi 4 years ago
parent f3ffaa9719
commit eb22f2692b

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

Loading…
Cancel
Save