Skip to content

Commit ee6bf65

Browse files
committed
fix: Form collection file upload cannot delete file
1 parent d268835 commit ee6bf65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/components/dynamics-form/items/upload/UploadInput.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<el-upload
3-
style="width: 80%"
3+
style="width: 100%"
44
v-loading="loading"
55
action="#"
66
v-bind="$attrs"
@@ -62,7 +62,7 @@ function formatSize(sizeInBytes: number) {
6262
}
6363
6464
const deleteFile = (file: any) => {
65-
if (inputDisabled) {
65+
if (inputDisabled.value) {
6666
return
6767
}
6868
fileArray.value = fileArray.value.filter((f: any) => f.uid != file.uid)

0 commit comments

Comments
 (0)