【修改】限制邮箱最多50

This commit is contained in:
zhoulingpo
2023-05-25 14:02:15 +08:00
parent 77c4a9886c
commit fdd0c1f108
@@ -481,11 +481,12 @@ export default {
onSuccess(res, file,fileList){
if(res.ok){
// this.fileList.push({url:res.data.fullurl})//以前的错误代码
debugger
this.fileList=fileList
this.form.fileList = this.fileList.map(item=>{
return {
fileId:item.id,
fileName:item.name
fileId:item.response?item.response.data.id:item.id,
fileName:item.response?item.response.data.name:item.name
}
})
this.$refs.processFormRef.clearValidate(['fileList'])