Merge pull request 'fix : 修复文件删除功能' (#495) from dd into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/495
This commit is contained in:
@@ -457,7 +457,7 @@ const handleDelete = (row) => {
|
||||
type: res.code === 1000 ? 'success' : 'error'
|
||||
})
|
||||
if (res.code === 1000) {
|
||||
formData.value.fileList.splice(formData.value.fileList.findIndex((item) => item.id === row.fileId), 1);
|
||||
formData.value.fileList.splice(formData.value.fileList.findIndex((item) => item.fileId === row.fileId), 1);
|
||||
// showTable.value = formData.value.fileList.length !== 0;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user