feat:fix reuse cell relayout
This commit is contained in:
parent
4fdc37a717
commit
05f26d55b5
@ -92,6 +92,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
|
||||
DoricListItemNode *node = cell.doricListItemNode;
|
||||
node.viewId = model[@"id"];
|
||||
[node blend:props];
|
||||
[node.view setNeedsLayout];
|
||||
CGSize size = [node.view sizeThatFits:CGSizeMake(cell.width, cell.height)];
|
||||
[self callItem:position height:size.height];
|
||||
return cell;
|
||||
|
Reference in New Issue
Block a user