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:
@@ -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()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user