|
|
@@ -45,12 +45,12 @@ const query = function getQueryForm(data) {
|
|
|
// }
|
|
|
// }
|
|
|
// console.log(map.value);
|
|
|
- form.append("<input name='" + key + "' value='" + map.value.replace(" ","%20") + "'>");
|
|
|
- // form.append("<input name='" + key + "' value='" + encodeURIComponent(map.value) + "'>")
|
|
|
+ //form.append("<input name='" + key + "' value='" + map.value.replace(" ","%20") + "'>");
|
|
|
+ form.append("<input name='" + key + "' value='" + encodeURIComponent(map.value) + "'>")
|
|
|
} else if ('array' === fetchJsType(map.value)) {
|
|
|
let string = map.value.join(',');
|
|
|
- form.append("<input name='" + key + "' value='" + string.replace(" ","%20") + "'>");
|
|
|
- // form.append("<input name='" + key + "' value='" + encodeURIComponent(string) + "'>")
|
|
|
+ //form.append("<input name='" + key + "' value='" + string.replace(" ","%20") + "'>");
|
|
|
+ form.append("<input name='" + key + "' value='" + encodeURIComponent(string) + "'>")
|
|
|
}
|
|
|
}
|
|
|
for (let key in this.param){
|
|
|
@@ -1225,7 +1225,8 @@ const query = function getQueryForm(data) {
|
|
|
// url path on search form option renderer
|
|
|
function searchOptionToUrlsearch() {
|
|
|
let data = (window.location.search);
|
|
|
- data = decodeURIComponent(data).replace('%20'," ");
|
|
|
+ data = decodeURIComponent(decodeURIComponent(data));
|
|
|
+ //data = decodeURIComponent(data).replace('%20'," ");
|
|
|
if (!!data) {
|
|
|
data = (data.substr(1)).split('&');
|
|
|
data = convertArrayToObj(data);
|