【修改】修改bug

This commit is contained in:
zhoulingpo
2023-07-31 17:43:00 +08:00
parent eb39d86631
commit b3768f1707
2 changed files with 26 additions and 3 deletions
@@ -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)