fix[utils]: fixed param2Obj not decoding plus sign (#1712)

pull/1600/merge
Yunfei 6 years ago committed by 花裤衩
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…
Cancel
Save