for (let key in userdata2) {
// console.log("2.0userdata[key].image1", userdata[key].image1)
wx.cloud.getTempFileURL({
fileList: [userdata2[key].image1,userdata2[key].image2,userdata2[key].image3,userdata2[key].image4,userdata2[key].image5,userdata2[key].image6,userdata2[key].image7],
success: res => {
console.log("2.1文件下载链接", res.fileList[0].tempFileURL)
userdata2[key].imageH1 = res.fileList[0].tempFileURL
userdata2[key].imageH2 = res.fileList[1].tempFileURL
userdata2[key].imageH3 = res.fileList[2].tempFileURL
userdata2[key].imageH4 = res.fileList[3].tempFileURL
userdata2[key].imageH5 = res.fileList[4].tempFileURL
userdata2[key].imageH6 = res.fileList[5].tempFileURL
userdata2[key].imageH7 = res.fileList[6].tempFileURL
// console.log("2.2.userdata[key].image1", userdata[key].image1)
}
})
}
为啥是倒序的,是getTempFileURL出问题了?还是是本身就是这样?