const fileTransfer: FileTransferObject = this.transfer.create();
fileTransfer.upload(that.imgPath, encodeURI(url), options).then(function (data) {
console.log('ok');
}, function (err) {
console.log('err');
});
相关分类