From c9e0ae673a70cddbf1d17b48aebca7c1cafa8eb4 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Mon, 6 Sep 2021 11:11:30 +0800 Subject: [PATCH] commit --- src/router/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index a5808bd79..40b714995 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2066,10 +2066,8 @@ router.onError((error) => { }) router.beforeEach((to, from, next) => { - console.log(111); let toName = to.name let token = store.state.token - console.log(toName); // 返回值为登录状态 if ((token === null || token === '') && (toName !== 'Login' && to.meta.requireAuth)) { return next('/Login')