From 560fd3af3bd72024ec3f86f30455b2b41b68e501 Mon Sep 17 00:00:00 2001 From: dj <1042039504@qq.com> Date: Sat, 21 Dec 2024 14:49:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=80=BB=E8=BE=91(=E9=87=87=E7=94=A8?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AttachmentUpload.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue index acbb489..5e755c8 100644 --- a/src/components/AttachmentUpload.vue +++ b/src/components/AttachmentUpload.vue @@ -428,7 +428,8 @@ const handleDelete = (row, type) => { let collectData = JSON.parse(localStorage.getItem('collectData')) collectData.fileList = allFileList.value localStorage.setItem('collectData', JSON.stringify(collectData)) - }else if (localStorage.getItem('otherFileList')) { + } + if (localStorage.getItem('otherFileList')) { localStorage.setItem('otherFileList', JSON.stringify(allFileList.value)) } }