feat:flowlayout async blend sub node
This commit is contained in:
parent
0889a57a68
commit
24fb291ba8
@ -249,6 +249,7 @@ - (DoricViewNode *)subNodeWithViewId:(NSString *)viewId {
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)blendSubNode:(NSDictionary *)subModel {
|
- (void)blendSubNode:(NSDictionary *)subModel {
|
||||||
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
NSString *viewId = subModel[@"id"];
|
NSString *viewId = subModel[@"id"];
|
||||||
DoricViewNode *viewNode = [self subNodeWithViewId:viewId];
|
DoricViewNode *viewNode = [self subNodeWithViewId:viewId];
|
||||||
if (viewNode) {
|
if (viewNode) {
|
||||||
@ -267,6 +268,7 @@ - (void)blendSubNode:(NSDictionary *)subModel {
|
|||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)callItem:(NSUInteger)position size:(CGSize)size {
|
- (void)callItem:(NSUInteger)position size:(CGSize)size {
|
||||||
|
Reference in New Issue
Block a user