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); DoricMargin DoricMarginMake(CGFloat left, CGFloat top, CGFloat right, CGFloat bottom);
typedef NS_ENUM(NSInteger, DoricLayoutSpec) { typedef NS_ENUM(NSInteger, DoricLayoutSpec) {
DoricLayoutExact, DoricLayoutExact = 0,
DoricLayoutWrapContent, DoricLayoutWrapContent = 1,
DoricLayoutAtMost, DoricLayoutAtMost = 2,
}; };
typedef NS_ENUM(NSInteger, DoricGravity) { 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 mixinSubNode:subModel];
[self blendSubNode:subModel]; [self blendSubNode:subModel];
} }
} else {
[super blendView:view forPropName:name propValue:prop];
} }
} }