We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac7bad5 commit c13219eCopy full SHA for c13219e
ui/src/components/dynamics-form/items/upload/LocalFileUpload.vue
@@ -130,10 +130,10 @@ const accept = computed(() => {
130
return (attrs.file_type_list || []).map((item: any) => '.' + item.toLowerCase()).join(',')
131
})
132
const file_type_list = computed(() => {
133
- return attrs.file_type_list || []
+ return attrs.file_type_list.map((item: any) => item.toUpperCase()) || []
134
135
const formats = computed(() => {
136
- return (attrs.file_type_list || []).map((item: any) => item.toUpperCase()).join('、')
+ return file_type_list.value.join('、')
137
138
const file_size_limit = computed(() => {
139
return attrs.file_size_limit || 50
0 commit comments