From 0d4d3a301bed58023fb800a7bdda857a1cae30d6 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Mon, 21 Nov 2022 16:44:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E5=8D=95=E7=82=B9?= =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/sso.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/sso.ts b/src/utils/sso.ts index d5f41453a7..69b0509d2e 100644 --- a/src/utils/sso.ts +++ b/src/utils/sso.ts @@ -43,7 +43,7 @@ import { subBefore, getQueryMap } from "@pureadmin/utils"; delete params["roles"]; delete params["accessToken"]; - const newUrl = `${location.origin}${subBefore( + const newUrl = `${location.origin}${location.pathname}${subBefore( location.hash, "?" )}?${JSON.stringify(params)