From a7a0976e12ecd7a32c4dfa450d26106da06e5da3 Mon Sep 17 00:00:00 2001 From: X1627315083 <1627315083@qq.com> Date: Sun, 28 Jan 2024 15:06:12 +0800 Subject: [PATCH] fix --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index d0877069..fdc18ede 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,9 @@ let token = getCookie("token"); router.beforeEach((to, from, next) => { if(to.name == "login"){ - isMurmur() + if(window.location.search.substring(1) != 'oldHis'){ + isMurmur() + } } next(); });