for (var item in tempFilePaths){ qiniuUploader.upload(tempFilePaths[item], function (res) { var imgUrl = _this.data.imgUrl; imgUrl.push(res.imageURL); _this.setData({ imgUrl: imgUrl }); }, function (error) { wx.showToast({ title: error, icon: 'success', duration: 2000 }) }, { region: 'ECN', domain: 'https://up.qbox.me', uptoken: _this.data.uptoken, }) } |
