Browse Source

店铺列表分页bug处理

yangc 7 years ago
parent
commit
1152fae2ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/mobile/shop/index.vue

+ 1 - 1
pages/mobile/shop/index.vue

@@ -187,7 +187,7 @@
         this.reloadData()
         this.reloadData()
       },
       },
       reloadData () {
       reloadData () {
-        this.$store.dispatch('provider/findStoreListInMobil', { page: 1, count: 10, type: this.types, keyword: this.keyword || null, field: this.field })
+        this.$store.dispatch('provider/findStoreListInMobil', { page: this.page, count: this.count, type: this.types, keyword: this.keyword || null, field: this.field })
       },
       },
       focusStore: function (item, $event) {
       focusStore: function (item, $event) {
 //        item.isFocus = item.isFocus === 'false' ? 'true' : 'false'
 //        item.isFocus = item.isFocus === 'false' ? 'true' : 'false'