Browse Source

搜索bug修复

wangdy 8 years ago
parent
commit
7815a73096
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/main/Search.vue

+ 1 - 0
components/main/Search.vue

@@ -150,6 +150,7 @@
         this.$store.dispatch('searchKeywords', { keyword: this.keyword })
       },
       onSearch () {
+        document.getElementsByClassName('search-input')[0].blur()
         if (this.keyword) {
           this.associate.show = false
           this.$store.dispatch('resetSearchKeywords')