mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 15:26:45 +08:00
微信图片上传修改
This commit is contained in:
@@ -396,7 +396,10 @@ export default {
|
||||
this.imageResultList.splice(0)
|
||||
for (let image of this.imageList) {
|
||||
let file = this.dataURLtoFile(image.content, '.png')
|
||||
let res = await this.afterRead(file)
|
||||
console.log(file)
|
||||
let uploadData = new FormData()
|
||||
uploadData.append('imgPath', file)
|
||||
let res = await this.afterRead(uploadData)
|
||||
let result = {
|
||||
rgssUrl: res.path,
|
||||
imageInfoType: 1,
|
||||
|
||||
Reference in New Issue
Block a user