跪求大神们正解 在调图片上传接口时,安卓机可以正常上传图片任务,唯独ios上传不了 这是怎么回事
getCropperImage() {
this.wecropper.getCropperImage((filePath) => {
var self = this;
console.log(filePath)
if (filePath) {
wx.uploadFile({
url: picture,
filePath: filePath,
name: ‘imageFile’,
formData: {
openId: openId,
missionId: missionId,
activityId: activityId,
activityConfigureId: activityConfigureId
},
header: {
“Content-Type”: “multipart/form-data”
},
success: function(res) {
console.log(res)
}