Browse Source

bug修改

wangfei 6 years ago
parent
commit
62a8110780
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/pages/user/library/booksSearch/index.vue

+ 1
- 0
src/pages/user/library/booksSearch/index.vue View File

110
     search () { // 搜索
110
     search () { // 搜索
111
       if (this.searchKey !== '') {
111
       if (this.searchKey !== '') {
112
         this.doSearchKey = this.searchKey
112
         this.doSearchKey = this.searchKey
113
+        this.page = 1
113
         this.onInfinite()
114
         this.onInfinite()
114
       } else {
115
       } else {
115
         this.$toast('搜索关键词不能为空')
116
         this.$toast('搜索关键词不能为空')