replace + into space character
This commit is contained in:
parent
5194ece113
commit
b720c4efe8
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ export default class {
|
|||
if (tpl.length == 1) {
|
||||
params[decodeURIComponent(tpl[0])] = '';
|
||||
} else if (tpl.length == 2) {
|
||||
params[decodeURIComponent(tpl[0])] = decodeURIComponent(tpl[1]);
|
||||
params[decodeURIComponent(tpl[0])] = decodeURIComponent(tpl[1].replace(/\+/g, ' '));
|
||||
}
|
||||
})
|
||||
return params;
|
||||
|
|
Loading…
Add table
Reference in a new issue