src/router/index.ts
@@ -66,7 +66,6 @@ // 路由加载前 router.beforeEach(async (to, from, next) => { debugger if (to.path === '/intelligentLine') { next(); } else { @@ -82,7 +81,7 @@ Session.clear(); NProgress.done(); } else if (token && to.path === '/login') { next('/homeMenu'); next('/home'); NProgress.done(); } else { const storesRoutesList = useRoutesList(pinia);