Skip to content

Commit

Permalink
fix: 优化单点登录
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Nov 21, 2022
1 parent b10c3eb commit 0d4d3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/sso.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0d4d3a3

Please sign in to comment.