搜索问题优化

dev
truthhun 1 year ago
parent 2543873eb8
commit 8a4032fe8e

@ -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',

Loading…
Cancel
Save