图片上传修改

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