iOS:fix when reblend groupNode,subviews will not be created properly

This commit is contained in:
pengfei.zhou 2020-03-31 11:08:22 +08:00
parent bd5391a0ac
commit a2653711f8

View File

@ -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];
} }
} }