【修改】修改bug
This commit is contained in:
@@ -172,9 +172,15 @@ export default {
|
||||
}
|
||||
return file
|
||||
})
|
||||
} else {
|
||||
// this.handleDelete(info.file)
|
||||
this.fileList = []
|
||||
this.$message.error(`上传失败`)
|
||||
return
|
||||
}
|
||||
// this.$message.success(`${info.file.name} 上传成功!`);
|
||||
} else if (info.file.status === 'error') {
|
||||
|
||||
this.$message.error(`${info.file.name} 上传失败.`)
|
||||
} else if (info.file.status === 'removed') {
|
||||
this.handleDelete(info.file)
|
||||
|
||||
Reference in New Issue
Block a user