Merge pull request 'fix(ProjectAttachment): 优化附件删除逻辑' (#1085) from master into prod

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1085
This commit is contained in:
2025-06-25 07:38:49 +00:00

View File

@@ -186,10 +186,10 @@ const deleteSingleFile = (row) => {
localStorage.setItem(`implementAllFileList-${route.query.projectId}`, JSON.stringify(finalList))
} else {
otherAttachmentList.value.splice(otherAttachmentList.value.findIndex((item) => item.fileId === row.fileId), 1);
allFiles.value.splice(allFiles.value.findIndex((item) => item.fileId === row.fileId), 1);
}
getAttachmentList()
activeName.value = 'all'
// getAttachmentList()
}
});
}