iOS:fix when reuse node,call reset cause property lost
This commit is contained in:
@@ -146,4 +146,12 @@ - (NSArray *)getSubNodeViewIds {
|
||||
|
||||
return allKeys;
|
||||
}
|
||||
|
||||
- (void)reset {
|
||||
[super reset];
|
||||
for (NSString *viewId in self.subNodes.allKeys) {
|
||||
[[self subNodeWithViewId:viewId] reset];
|
||||
}
|
||||
|
||||
}
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user