Browse Source

器件在售商家下拉获取数据问题处理

yangc 8 years ago
parent
commit
db7f7631e2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/mobile/brand/ComponentDetail.vue

+ 1 - 1
components/mobile/brand/ComponentDetail.vue

@@ -229,7 +229,7 @@
     methods: {
       scroll: function () {
         let scrolled = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop
-        if (Math.ceil(scrolled + window.screen.availHeight) >= document.body.scrollHeight && !this.isSearchingMore && this.page < this.allPage) {
+        if (Math.ceil(scrolled + window.screen.availHeight) >= document.body.scrollHeight && !this.isSearchingMore && this.params.page < this.allPage) {
           this.getMoreStore()
         }
       },