From 9c0c01a9ce2aea9a9b9fec9105fc916227dc807d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Sun, 10 Aug 2025 10:41:54 +0800 Subject: [PATCH] fix: modify --- src/permission.js | 2 -- 1 file changed, 2 deletions(-) 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') {