vue-vben-admin icon indicating copy to clipboard operation
vue-vben-admin copied to clipboard

BasicUpload 删除失效

Open ZackLeonardo opened this issue 7 months ago • 0 comments

\vue-vben-admin\src\components\Upload\src\components\UploadModal.vue 中删除方法失效,record.uuid修改为record.record.uuid可以获取到uuid

// 删除 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); }

ZackLeonardo avatar Jul 09 '24 08:07 ZackLeonardo