zhaoxiaohai 4 năm trước cách đây
mục cha
commit
ab57a21025
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/tabbar-pages/supplyAndDemand/index.js

+ 1 - 1
pages/tabbar-pages/supplyAndDemand/index.js

@@ -310,7 +310,7 @@ Page({
      * 页面上拉触底事件的处理函数
      */
     onReachBottom: function () {
-        this.getList();
+        if (this.data.pageNumber <= this.data.pageTotal) this.getList();
     },
 
     /**