diff --git a/src/components/DetailComponent/ProjectAttachment.vue b/src/components/DetailComponent/ProjectAttachment.vue index 73608fa..49a204f 100644 --- a/src/components/DetailComponent/ProjectAttachment.vue +++ b/src/components/DetailComponent/ProjectAttachment.vue @@ -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() } }); }