From e0bc528d5d7fed857b24c38ad60869d893bc5ec0 Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Thu, 14 Nov 2024 16:39:32 +0800 Subject: [PATCH] gx --- src/router/index.js | 2 +- src/view/guide.vue | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 0a1680e..1b61178 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -171,7 +171,7 @@ const router = createRouter({ }); router.beforeEach((to, form, next) => { - console.log(to); + // console.log(to); queue(to.meta.id, to.name, to.path); let menu = tools.data.get("menu"); let token = tools.data.get("token"); diff --git a/src/view/guide.vue b/src/view/guide.vue index 3e88e42..05f1ad2 100644 --- a/src/view/guide.vue +++ b/src/view/guide.vue @@ -153,8 +153,6 @@ const login = () => { tools.data.set("type", 1); getMenu(); if (backurl) { - console.log(222222); - window.location.href = backurl; tools.data.remove("backUrl"); } @@ -215,7 +213,6 @@ const login = () => { window.addEventListener("mousemove", resetTimer); window.addEventListener("keydown", resetTimer); if (backurl) { - console.log(33333333333); window.location.href = backurl; tools.data.remove("backUrl"); }