iOS: fix get property error

This commit is contained in:
pengfei.zhou 2021-09-29 18:29:51 +08:00 committed by osborn
parent ea4f6a4f08
commit 8ef9ddc610

View File

@ -74,7 +74,7 @@ - (void)afterBlended:(NSDictionary *)props {
[self.childNodes forEach:^(DoricViewNode *viewNode) {
NSString *viewId = viewNode.viewId;
NSDictionary *model = [self subModelOf:viewId];
NSDictionary *dictionary = model[@"dictionary"];
NSDictionary *dictionary = model[@"props"];
if (!dictionary[@"flexConfig"]) {
viewNode.view.yoga.width = YGValueAuto;
viewNode.view.yoga.height = YGValueAuto;