From c4070524b17cdda4232b968e633e39e6f528a5e6 Mon Sep 17 00:00:00 2001 From: Henry Rao Date: Thu, 18 Apr 2024 11:11:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=BF=87=E7=A8=8B=E4=B8=AD=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=BB=88=E6=AD=A2=E4=B8=8A=E4=BC=A0=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E4=B8=8A=E4=BC=A0=E7=8A=B6=E6=80=81=E6=9C=AA=E6=94=B9?= =?UTF-8?q?=E5=8F=98=E4=B8=8D=E8=83=BD=E5=85=B3=E9=97=ADModal=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Upload/src/components/UploadModal.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Upload/src/components/UploadModal.vue b/src/components/Upload/src/components/UploadModal.vue index 51bfab7d63f..8491d927fdf 100644 --- a/src/components/Upload/src/components/UploadModal.vue +++ b/src/components/Upload/src/components/UploadModal.vue @@ -164,6 +164,9 @@ function handleRemove(record: FileItem) { const index = fileListRef.value.findIndex((item) => item.uuid === record.uuid); index !== -1 && fileListRef.value.splice(index, 1); + isUploadingRef.value = fileListRef.value.some( + (item) => item.status === UploadResultStatus.UPLOADING, + ); emit('delete', record); }