提交 ab779b9c authored 作者: huaxinzhu's avatar huaxinzhu

1

上级 0458bbf1
......@@ -77,7 +77,7 @@ router.beforeEach((to, from, next) => {
// 在免登录白名单,直接进入
next()
} else {
next(`/login.html?redirect=${to.path}`) // 否则全部重定向到登录页
next(`/login?redirect=${to.path}`) // 否则全部重定向到登录页
NProgress.done()
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论