fix : 修复文件删除功能

This commit is contained in:
2024-07-06 23:08:36 +08:00
parent 06524178c7
commit edec70ebbb
4 changed files with 5 additions and 5 deletions

View File

@@ -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);
}
}
});