Commit e8355583 authored by Facius's avatar Facius

fix: 跳转白名单

parent 20559f17
...@@ -7,7 +7,7 @@ const router = createRouter({ ...@@ -7,7 +7,7 @@ const router = createRouter({
}) })
// 检测登录白名单,无需登录也可访问的页面 // 检测登录白名单,无需登录也可访问的页面
const whiteList = ['index', 'cert', 'mine', 'login', 'learnScore'] const whiteList = ['index', 'cert', 'mine', 'login', 'learnScore', 'user-agreement', 'privacy-policy']
// 全局路由前置守卫 // 全局路由前置守卫
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment