iOS: fix Image async load error

This commit is contained in:
pengfei.zhou 2021-11-12 16:45:56 +08:00 committed by osborn
parent 4c80e5aa60
commit c53fe3c208

View File

@ -160,6 +160,9 @@ - (void)subNodeContentChanged:(DoricViewNode *)subNode {
|| self.view.doricLayout.heightSpec == DoricLayoutFit)) {
[self.superNode subNodeContentChanged:self];
} else {
if (![self.type isEqualToString:@"Root"]) {
[self.view.doricLayout apply];
}
[self requestLayout];
}
}