@@ -48,7 +48,7 @@ router.beforeEach((to, from, next) => {
next()
} else {
// next(`/login?redirect=${encodeURIComponent(to.fullPath)}`) // 否则全部重定向到登录页
- next(`/sso-login`) // 否则全部重定向到单点登录的登录页,而不是再进入原来的登录页
+ next(`/sso-login?back=` + location.href) // 否则全部重定向到单点登录的登录页,而不是再进入原来的登录页
NProgress.done()
}