ionic3 用file-transfer插件上传文件时,成功会失败的回调都不执行怎么回事?而且也不报错

const fileTransfer: FileTransferObject = this.transfer.create();

fileTransfer.upload(that.imgPath, encodeURI(url), options).then(function (data) {

console.log('ok');

}, function (err) {

console.log('err');

});


fchany
浏览 2523回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP