iOS:fix cannot find onDrag error

This commit is contained in:
pengfei.zhou 2020-03-07 10:01:31 +08:00 committed by osborn
parent fac7f005d8
commit db1e1279e3

View File

@ -43,7 +43,8 @@ - (void)onDrag:(UIPanGestureRecognizer *)gesture {
- (void)blendView:(DoricStackView *)view forPropName:(NSString *)name propValue:(id)prop {
if ([name isEqualToString:@"onDrag"]) {
_onDragFunction = prop;
} else {
[super blendView:view forPropName:name propValue:prop];
}
[super blendView:view forPropName:name propValue:prop];
}
@end