search国际化以及keywords和result的验证 (#32)

* feat: add i18n of modal

* feat: add i18n of search

* fix: checkout keywords

* fix: checkout result

Co-authored-by: wanghaobb <wanghaobb@seeyon.com>
This commit is contained in:
BeADre 2020-10-21 18:49:57 +08:00 committed by GitHub
parent 3d4d1e9f66
commit 36faa33c5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 8 deletions

View file

@ -70,6 +70,7 @@ export default {
else this.$router.go(1);
},
goToSearchPage() {
if(!this.keywords) return;
this.$router.push({
name: "search",
query: { keywords: this.keywords },