@ -356,7 +356,7 @@ export default {
},
onSearch() {
if (this.search.wd) {
location.href = '/search?wd=' + this.search.wd
location.href = '/search?wd=' + encodeURIComponent(this.search.wd)
return
}
@ -244,7 +244,7 @@ export default {
bodyAttrs: {
class: 'search-page',
title: this.settings.system.title || 'MOREDOC · 魔豆文库',
title: `${this.query.wd} - ${this.settings.system.title}`,
meta: [
{
hid: 'keywords',