iOS:fix when reblend groupNode,subviews will not be created properly
This commit is contained in:
parent
bd5391a0ac
commit
a2653711f8
@ -134,8 +134,8 @@ - (void)configChildNodes {
|
|||||||
viewNode.viewId = viewId;
|
viewNode.viewId = viewId;
|
||||||
[viewNode initWithSuperNode:self];
|
[viewNode initWithSuperNode:self];
|
||||||
[viewNode blend:model[@"props"]];
|
[viewNode blend:model[@"props"]];
|
||||||
[childNodes addObject:viewNode];
|
[childNodes insertObject:viewNode atIndex:idx];
|
||||||
[self.view addSubview:viewNode.view];
|
[self.view insertSubview:viewNode.view atIndex:idx];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user