Browse Source

修改搜索数据的问题

shenjj 7 years ago
parent
commit
f24dc25397
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/mobile/search/newkeycode.vue

+ 1 - 0
pages/mobile/search/newkeycode.vue

@@ -498,6 +498,7 @@
         this.displayKeyword = this.keyword
         this.displayKeyword = this.keyword
         this.brandIsAccurate = false
         this.brandIsAccurate = false
         this.isSearchSearchingMore = true
         this.isSearchSearchingMore = true
+        this.$router.push(`/mobile/search/newkeycode?choosetype=${this.ChooseTop}&keyword=${this.keyword}`)
         this.$http.get(`/search/201819`, {params: {count: 10, page: 1, keyword: this.keyword, type: this.ChooseTop}}).then(data => {
         this.$http.get(`/search/201819`, {params: {count: 10, page: 1, keyword: this.keyword, type: this.ChooseTop}}).then(data => {
           data = data.data
           data = data.data
           this.resourceList = data
           this.resourceList = data