diff --git a/src/permission.js b/src/permission.js index 1b995fe..2215e66 100644 --- a/src/permission.js +++ b/src/permission.js @@ -17,8 +17,6 @@ router.beforeEach(async (to, from, next) => { if (isEmpty(history.state.current)) { assign(history.state, { current: from.fullPath }) } - console.log(to) - if (getToken()) { // 判断用户是否处于登录状态 if (to.path === '/login') {