Browse Source

修改测试bug

shenjj 7 years ago
parent
commit
36e8d35dfd
1 changed files with 4 additions and 4 deletions
  1. 4 4
      pages/mobile/center/vendor/attentionBus.vue

+ 4 - 4
pages/mobile/center/vendor/attentionBus.vue

@@ -98,10 +98,10 @@
           this.keyword = ''
           this.getAttentionListArray(this.page)
         },
-        searchSeek() {
-          this.page = 0
-          this.attentionList = []
-          this.getMoreSearch()
+        async searchSeek() {
+          this.page = 1
+          let {data} = await this.$http.get('/produce/kindConcern/kindList', { params: {keyword: this.keyword, count: 20, page: 1, enUU: this.$store.state.option.user.data.enterprise.uu} })
+          this.attentionList = data
         },
         attentionFn(kindConcern, index) {
           let param = {