wx.downloadFile() 返回的res没有tempFilePath?
wx.downloadFile({
success: res => {
console.log(res)//???
wx.previewImage({
urls: [res.tempFilePath],
})
}
输出:Object {statusCode: 500, errMsg: “downloadFile:ok”}
wx.downloadFile({
success: res => {
console.log(res)//???
wx.previewImage({
urls: [res.tempFilePath],
})
}
输出:Object {statusCode: 500, errMsg: “downloadFile:ok”}