提交 f38d5810 编写于 作者: Y Yunfei 提交者: 花裤衩

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

上级 cf48ed21
......@@ -136,7 +136,8 @@ export function param2Obj(url) {
decodeURIComponent(search)
.replace(/"/g, '\\"')
.replace(/&/g, '","')
.replace(/=/g, '":"') +
.replace(/=/g, '":"')
.replace(/\+/g, ' ') +
'"}'
)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册