src/router/index.js @@ -35,7 +35,7 @@ routes, }); router.beforeEach((to, from, next) => { // next(); // next(); // 去登录页,直接跳转 if (to.path === "/login") { next();