Merge branch 'hotfix/bug_GFRS-1053自助入司-影像信息上传页-上传图片失败,点击下一步时,前端未校验住' into dev

This commit is contained in:
yuweiqi
2020-04-20 15:22:30 +08:00

View File

@@ -317,6 +317,25 @@ export default {
rgssUrl: encodeURI(res.path).replace(/\+/g, '%2B')
}
that.list.push(obj)
} else {
that.$toast(res.resultMessage || '请重新上传图片')
switch (that.type) {
case 'fileListBank01':
this.fileListBank01.pop()
break
case 'fileListBank03': //学历
this.fileListBank03 = []
break
case 'fileListBank04': //免冠
this.fileListBank04 = []
break
case 'fileListBank05':
this.fileListBank05.pop()
break
case 'fileListBank06':
this.fileListBank06.pop()
break
}
}
})
},