fixed bug in FileSelect component for deleting files

This commit is contained in:
RockYang 2024-10-08 18:00:46 +08:00
parent 430a7b2297
commit 52e40daf23

View File

@ -129,6 +129,7 @@ const removeFile = (file) => {
return v1.id === v2.id
})
ElMessage.success("文件删除成功!")
fetchFiles(1)
}).catch((e) => {
ElMessage.error('文件删除失败:' + e.message)
})