fix(ui) - search url - value with spaces
This commit is contained in:
parent
25fb1323fa
commit
b90eda7076
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ function getQueryObject(search: any) {
|
|||
.split('&')
|
||||
.map((item: any) => {
|
||||
let [key, value] = item.split('=');
|
||||
return { key: key.slice(0, -2), value };
|
||||
return { key: key.slice(0, -2), value: decodeURI(value) };
|
||||
});
|
||||
return jsonArray;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue