【修改】限制邮箱最多50
This commit is contained in:
@@ -481,11 +481,12 @@ export default {
|
|||||||
onSuccess(res, file,fileList){
|
onSuccess(res, file,fileList){
|
||||||
if(res.ok){
|
if(res.ok){
|
||||||
// this.fileList.push({url:res.data.fullurl})//以前的错误代码
|
// this.fileList.push({url:res.data.fullurl})//以前的错误代码
|
||||||
|
debugger
|
||||||
this.fileList=fileList
|
this.fileList=fileList
|
||||||
this.form.fileList = this.fileList.map(item=>{
|
this.form.fileList = this.fileList.map(item=>{
|
||||||
return {
|
return {
|
||||||
fileId:item.id,
|
fileId:item.response?item.response.data.id:item.id,
|
||||||
fileName:item.name
|
fileName:item.response?item.response.data.name:item.name
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.$refs.processFormRef.clearValidate(['fileList'])
|
this.$refs.processFormRef.clearValidate(['fileList'])
|
||||||
|
|||||||
Reference in New Issue
Block a user