feat:fix render props error

This commit is contained in:
pengfei.zhou 2019-11-15 15:05:35 +08:00
parent 52fcafeb92
commit 3289513720
2 changed files with 5 additions and 3 deletions

View File

@ -31,9 +31,9 @@ typedef struct DoricMargin DoricMargin;
DoricMargin DoricMarginMake(CGFloat left, CGFloat top, CGFloat right, CGFloat bottom);
typedef NS_ENUM(NSInteger, DoricLayoutSpec) {
DoricLayoutExact,
DoricLayoutWrapContent,
DoricLayoutAtMost,
DoricLayoutExact = 0,
DoricLayoutWrapContent = 1,
DoricLayoutAtMost = 2,
};
typedef NS_ENUM(NSInteger, DoricGravity) {

View File

@ -39,6 +39,8 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop
[self mixinSubNode:subModel];
[self blendSubNode:subModel];
}
} else {
[super blendView:view forPropName:name propValue:prop];
}
}