iOS: Add DoricFlexLayout to DoricLayouts

This commit is contained in:
pengfei.zhou
2022-09-05 15:52:47 +08:00
committed by osborn
parent 390ef52632
commit 8e22108cc9
4 changed files with 165 additions and 90 deletions

View File

@@ -262,6 +262,7 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
if ([self.superNode isKindOfClass:[DoricFlexNode class]]) {
[((DoricFlexNode *) self.superNode) blendSubNode:self flexConfig:prop];
}
self.view.doricLayout.flexConfig = prop;
}
} else {
DoricLog(@"Blend View error for View Type :%@, prop is %@", self.class, name);