From 6f76e66644a246605695ab90623f8c3e8fc74fa0 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 18 Jun 2024 16:58:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=8C=96=E7=89=88=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index 52083762a..2702594d8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -982,6 +982,7 @@ router.beforeEach((to, from, next) => { }); return next({ name: "login", + query: { redirect: to.fullPath } }); } window.SITE_CONFIG["menuShujuList"] = res.data; @@ -1012,6 +1013,7 @@ router.beforeEach((to, from, next) => { }); return next({ name: "login", + query: { redirect: to.fullPath } }); } window.SITE_CONFIG["menuList"] = res.data @@ -1029,6 +1031,7 @@ router.beforeEach((to, from, next) => { console.log(err); next({ name: "login", + query: { redirect: to.fullPath } }); }); });