diff --git a/doric-iOS/Pod/Classes/Shader/DoricListNode.m b/doric-iOS/Pod/Classes/Shader/DoricListNode.m index 3bd863d5..8e5bbf33 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricListNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricListNode.m @@ -231,7 +231,7 @@ - (void)callItem:(NSUInteger)position height:(CGFloat)height { dispatch_async(dispatch_get_main_queue(), ^{ [UIView performWithoutAnimation:^{ NSUInteger itemCount = self.itemCount + (self.loadMore ? 1 : 0); - if ([self.view numberOfRowsInSection:0] <= position || currentCount != itemCount) { + if (itemCount <= position || currentCount != itemCount) { [self.view reloadData]; return; }