src/router/index.js @@ -136,7 +136,6 @@ } } router.beforeEach(async (to, from, next) => { console.log(to,from,"看看") try { const result = await hasPermission(to.path); console.log(result,"result")