使用wx.compressImage压缩完的图片路径:结果如下
{errMsg: "compressImage:ok", tempFilePath: "http://tmp/p4A6q7H8F2jPd6f7c2f646bebbe7a5b8cb5e8eb7d912."}
,再使用wx.uploadFile并传入tempFilePath,调用就出现 Uploaded file format is limited 这个错误
网友回复
Mr.Zhao:
我这边没问题,能上传成功
使用wx.compressImage压缩完的图片路径:结果如下
{errMsg: "compressImage:ok", tempFilePath: "http://tmp/p4A6q7H8F2jPd6f7c2f646bebbe7a5b8cb5e8eb7d912."}
,再使用wx.uploadFile并传入tempFilePath,调用就出现 Uploaded file format is limited 这个错误
我这边没问题,能上传成功