Commit 79ccc182 by liang ce

测试

parent 2aff8661
......@@ -51,6 +51,7 @@ router.beforeEach(function (to, from, next) {
if (res === 'noPermission') {
next({ name: 'noPermission' })
} else {
console.log(to, from, next, '问题踢踢踢踢踢踢')
next()
}
}).catch((err) => {
......
......@@ -100,7 +100,7 @@ export default new Router({
path: '/*',
redirect: '/dashboard',
beforeEnter (to, from, next) {
console.log(to)
console.log(to, from, next)
}
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment