收藏
回答

上传图片到七牛无效

问题模块
API和组件
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,
          })
        }


最后一次编辑于  2017-10-25
回答关注问题邀请回答
收藏