|
@@ -148,8 +148,8 @@ export const registerBeforeRouter = async (router) => {
|
|
|
|
|
|
export const registerAfterRouter = async (router) => {
|
|
|
router.afterEach((to, form) => {
|
|
|
- NProgress.done(); //完成进度条
|
|
|
if (to.path === '/login') return
|
|
|
// 请求该页面的权限
|
|
|
+ NProgress.done(); //完成进度条
|
|
|
})
|
|
|
}
|