iOS:fix callEntity pass param error.

This commit is contained in:
pengfei.zhou 2021-08-02 11:40:52 +08:00 committed by osborn
parent 160a85767a
commit 7a8fe598cd

View File

@ -109,8 +109,6 @@ - (DoricAsyncResult *)invokeDoricMethod:(NSString *)method argumentsArray:(NSArr
- (DoricAsyncResult *)invokeContextEntity:(NSString *)contextId method:(NSString *)method arguments:(va_list)args {
NSMutableArray *array = [[NSMutableArray alloc] init];
[array addObject:contextId];
[array addObject:method];
id arg = va_arg(args, id);
while (arg != nil) {
[array addObject:arg];