云开发wx.cloud.uploadFile异步返回图片顺序错乱,怎样解决图片顺序?
wx.cloud.uploadFile({ cloudPath: rand, filePath: filePath, }).then(res => { this .setData({ fileIDs: this .data.fileIDs.concat(res.fileID) }) }). catch (error => { console.error(error) wx.showToast({ icon: 'none' , title: '网络不给力....' }) }) |
经过wx.cloud.uploadFile返回的res.fileID顺序一定是乱的,怎么能拿到选择图片的顺序,哪位大神给指点指点