mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 10:26:44 +08:00
[FIX]自助入司-影像上传-增加上传图片失败提示、校验
This commit is contained in:
@@ -317,6 +317,25 @@ export default {
|
|||||||
rgssUrl: encodeURI(res.path).replace(/\+/g, '%2B')
|
rgssUrl: encodeURI(res.path).replace(/\+/g, '%2B')
|
||||||
}
|
}
|
||||||
that.list.push(obj)
|
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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user