收藏
回答

上传图片到七牛无效

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,
          })
        }


回答关注问题邀请回答
收藏
登录 后发表内容