src/router/index.ts
@@ -66,9 +66,6 @@ // 路由加载前 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,7 +92,6 @@ next({ ...to, replace: true }); } else { next(); } } } }