zhaoxiaohai před 4 roky
rodič
revize
ab57a21025
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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();
     },
 
     /**