diff --git a/doric-iOS/Pod/Classes/Shader/DoricListNode.m b/doric-iOS/Pod/Classes/Shader/DoricListNode.m index 975481d0..056e8dd2 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricListNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricListNode.m @@ -174,6 +174,7 @@ - (void)blendView:(UITableView *)view forPropName:(NSString *)name propValue:(id [self removeSubModel:obj]; }]; [self.itemViewIds removeAllObjects]; + [self.itemHeights removeAllObjects]; self.needReload = true; } } else if ([@"batchCount" isEqualToString:name]) { @@ -723,6 +724,7 @@ - (void)reload { [self removeSubModel:obj]; }]; [self.itemViewIds removeAllObjects]; + [self.itemHeights removeAllObjects]; dispatch_async(dispatch_get_main_queue(), ^{ self.rowCount = self.itemCount + (self.loadMore ? 1 : 0); [self.view reloadData];