fix : 修复文件删除功能
This commit is contained in:
@@ -344,7 +344,7 @@ const deleteSingleFile = (row, type) => {
|
||||
if (type === 1) {
|
||||
singleFile.value = null
|
||||
} else {
|
||||
props.otherFileList.splice(props.otherFileList.findIndex((item) => item.id === row.fileId), 1);
|
||||
props.otherFileList.splice(props.otherFileList.findIndex((item) => item.fileId === row.fileId), 1);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user