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