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); }