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PPblZYSv67hnHXLhtR4xcbnByuc/AIRr2IrMdwLLn2+XbGwlKK3O1Y0VJPrHTd/3QX2t230SJ4GPq0a4ZHWsa50rF70CRV4DCbpLYM4mRUrXf9a89XlGMI5Y+ZU1J2nkwSfk/9mOnBARKDYMk9tgDAHn+5kaWv3nmwJFid0GSFCS2PxPKrH55Dm1qWLVXusLWRoaokc9wD+M5fc4UCfWvjO2qTykDfGw6xe8YfOJKxMZUR1lZkkWl93UoB9P2+SN60NOrGcCXPjEoaWcC3U0HKnQwq6xBbLkQPQjczFLXF/YRv…"
dataURLtoFile (dataurl, filename) {
var arr = dataurl.split(','); var mime = arr[0].match(/:(.*?);/)[1]
var bstr = atob(arr[1]); var n = bstr.length; var u8arr = new Uint8Array(n)
while (n--) {
u8arr[n] = bstr.charCodeAt(n)
}
return new File([u8arr], filename, { type: mime })
},
picturesSuccess (imageData) {
+ 在转换为表单形式提交后台
var formData = new FormData()
formData.append('file', this.dataURLtoFile(imageData, 'file.jpeg'))
fileUpload(formData).then(res => {
this.needBackImg = res.data.filePath
this.previewVisible = false
}).catch(e => {
})
},