From e8612a32cf194d9e919e86c804631c4e244fe1b6 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Fri, 28 Jul 2023 17:40:01 +0800 Subject: [PATCH] ---fix bug --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index f70e0a28..75cac4a1 100644 --- a/src/main.js +++ b/src/main.js @@ -42,11 +42,11 @@ router.beforeEach(async (to, from, next) => { await getUserInfo() await getUserPermission(); init() - next(); }catch (e){ console.log('token失效 跳转到登录页') } } + next(); }) app.use(Antd); app.use(router);