iOS: fix get property error
This commit is contained in:
parent
ea4f6a4f08
commit
8ef9ddc610
@ -74,7 +74,7 @@ - (void)afterBlended:(NSDictionary *)props {
|
|||||||
[self.childNodes forEach:^(DoricViewNode *viewNode) {
|
[self.childNodes forEach:^(DoricViewNode *viewNode) {
|
||||||
NSString *viewId = viewNode.viewId;
|
NSString *viewId = viewNode.viewId;
|
||||||
NSDictionary *model = [self subModelOf:viewId];
|
NSDictionary *model = [self subModelOf:viewId];
|
||||||
NSDictionary *dictionary = model[@"dictionary"];
|
NSDictionary *dictionary = model[@"props"];
|
||||||
if (!dictionary[@"flexConfig"]) {
|
if (!dictionary[@"flexConfig"]) {
|
||||||
viewNode.view.yoga.width = YGValueAuto;
|
viewNode.view.yoga.width = YGValueAuto;
|
||||||
viewNode.view.yoga.height = YGValueAuto;
|
viewNode.view.yoga.height = YGValueAuto;
|
||||||
|
Reference in New Issue
Block a user