src/router/index.js @@ -81,6 +81,7 @@ if (to.matched.length == 0) { router.push(to.fullPath); } console.log(menuRouter,router,8899) isGetRouter = true; } beforeEach(to, from)