|
|
@@ -27,6 +27,8 @@ const whiteList = [ |
|
|
|
'/policyDetail', |
|
|
|
'/attestationDetail', |
|
|
|
'/noticeDetail', |
|
|
|
'/homestead/index', |
|
|
|
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
@@ -67,7 +69,7 @@ router.beforeEach((to, from, next) => { |
|
|
|
next() |
|
|
|
} else { |
|
|
|
next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页 |
|
|
|
//next('/index'); |
|
|
|
//next('/index'); |
|
|
|
NProgress.done() |
|
|
|
} |
|
|
|
} |
|
|
|