From c53fe3c20863f6420c74ee35f389e7224ac417ee Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Fri, 12 Nov 2021 16:45:56 +0800 Subject: [PATCH] iOS: fix Image async load error --- doric-iOS/Pod/Classes/Shader/DoricSuperNode.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m b/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m index caf1ab54..eeba98ea 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricSuperNode.m @@ -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]; } }