src/router/index.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/router/index.ts
@@ -66,6 +66,9 @@ // 路由加载前 router.beforeEach(async (to, from, next) => { if (to.path === '/intelligentLine') { next(); } else { NProgress.configure({ showSpinner: false }); if (to.meta.title) NProgress.start(); const token = Session.get('token'); @@ -95,6 +98,7 @@ } } } } }); // 路由加载后