mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 16:37:18 +08:00
fix: 优化单点登录
This commit is contained in:
parent
b10c3eb1bb
commit
0d4d3a301b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user