图片上传修改

This commit is contained in:
mengxiaolong
2020-09-08 15:49:25 +08:00
parent 3c273979d8
commit be27497c98

View File

@@ -175,7 +175,7 @@ export default {
}, },
methods: { methods: {
// 补充资料问题件被保人上传身份证照片 // 补充资料问题件被保人上传身份证照片
async uploadSupplementImg(file) { async uploadSupplementImg() {
if (this.isWeixin) { if (this.isWeixin) {
localStorage.setItem('supplementImages', JSON.stringify(this.imageList)) localStorage.setItem('supplementImages', JSON.stringify(this.imageList))
} }
@@ -393,8 +393,8 @@ export default {
this.imageResultList.push(result) this.imageResultList.push(result)
} }
} else { } else {
for (let file of this.imageList) { for (let image of this.imageList) {
let res = await this.afterRead({ file: file }) let res = await this.afterRead({ file: image.file })
let result = { let result = {
rgssUrl: res.path, rgssUrl: res.path,
imageInfoType: 1, imageInfoType: 1,