fix: Form collection file upload cannot delete file (#3910)

v3.2
shaohuzhang1 2025-08-21 18:04:50 +08:00 committed by GitHub
parent f5fada9b9e
commit 77b86b99e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function formatSize(sizeInBytes: number) {
}
const deleteFile = (file: any) => {
if (inputDisabled) {
if (inputDisabled.value) {
return
}
fileArray.value = fileArray.value.filter((f: any) => f.uid != file.uid)