fix setTags/Alias bug

This commit is contained in:
huangminlinux
2017-07-07 11:21:14 +08:00
parent c72cde6632
commit 2df6ea47a8
+3
View File
@@ -109,6 +109,7 @@
} else { } else {
result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:nil]; result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:nil];
} }
[self.commandDelegate sendPluginResult:result callbackId:command.callbackId];
}]; }];
} }
@@ -123,6 +124,7 @@
} else { } else {
result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:nil]; result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:nil];
} }
[self.commandDelegate sendPluginResult:result callbackId:command.callbackId];
}]; }];
} }
@@ -137,6 +139,7 @@
} else { } else {
result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:nil]; result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:nil];
} }
[self.commandDelegate sendPluginResult:result callbackId:command.callbackId];
}]; }];
} }