mirror of
https://gitee.com/yiming_chang/vue-pure-admin.git
synced 2024-12-02 11:17:39 +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…
Reference in New Issue
Block a user