diff --git a/components/search/Search.vue b/components/search/Search.vue index 30cc4fe029..14361618b7 100644 --- a/components/search/Search.vue +++ b/components/search/Search.vue @@ -127,6 +127,11 @@ export default class Search extends mixins( this.initKeyboardEventHandler({ f: this.bindFilterEvents, }) + if (!this.name && this.$route.query.search) { + this.name = Array.isArray(this.$route.query.search) + ? '' + : this.$route.query.search + } } public mounted(): void {