formData
let formData = new FormData();
formData.append("file", blob, ref + ".png"); //添加参数并且重新命名文件名称
if(ref.toString().indexOf('qrcode') >= 0) formData.append('noStbg', true)//添加参数
uploadType(formData, source).then(response => {})
具体formData解释可以看 https://blog.51cto.com/u_15127549/4154195