Pārlūkot izejas kodu

1.修改iOS Apex Drivers触底重复加载。

Pen Li 7 gadi atpakaļ
vecāks
revīzija
619d3bdcd7
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      common/customUI/Refresh/Footer/JLRefreshFooter.m

+ 4 - 0
common/customUI/Refresh/Footer/JLRefreshFooter.m

@@ -285,6 +285,10 @@ CGFloat const JLRefreshFooterHeight = 30;
         return;
     }
 
+    if (self.state == JLRefreshStateNoMore) {
+        return;
+    }
+    
     super.state = state;
     
      __weak typeof(self) weakself = self;