|
@@ -29,14 +29,14 @@ $(function () {
|
|
|
hashArr.map(item => {
|
|
|
if (item.indexOf('name') > -1) {
|
|
|
let names = item.split('=')
|
|
|
- theKeyword = names[1];
|
|
|
+ theKeyword = decodeURIComponent(names[1]);
|
|
|
$('#search_on input').val(theKeyword);
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
if (newHash.indexOf('name') > -1) {
|
|
|
let names = newHash.split('=')
|
|
|
- theKeyword = names[1];
|
|
|
+ theKeyword = decodeURIComponent(names[1]);
|
|
|
$('#search_on input').val(theKeyword);
|
|
|
}
|
|
|
}
|