mirror of
https://gitee.com/blackfox/geekai.git
synced 2025-12-07 01:08:24 +08:00
fixed bug in FileSelect component for deleting files
This commit is contained in:
parent
c374126f69
commit
1086e1d631
@ -129,6 +129,7 @@ const removeFile = (file) => {
|
||||
return v1.id === v2.id
|
||||
})
|
||||
ElMessage.success("文件删除成功!")
|
||||
fetchFiles(1)
|
||||
}).catch((e) => {
|
||||
ElMessage.error('文件删除失败:' + e.message)
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user