fix: Form collection file upload cannot delete file (#3910)
parent
f5fada9b9e
commit
77b86b99e9
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue