fix[utils]: fixed param2Obj not decoding plus sign (#1712)
This commit is contained in:
parent
cf48ed218b
commit
f38d5810d9
|
@ -136,7 +136,8 @@ export function param2Obj(url) {
|
|||
decodeURIComponent(search)
|
||||
.replace(/"/g, '\\"')
|
||||
.replace(/&/g, '","')
|
||||
.replace(/=/g, '":"') +
|
||||
.replace(/=/g, '":"')
|
||||
.replace(/\+/g, ' ') +
|
||||
'"}'
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue