feat: 上传文件格式说明

This commit is contained in:
dap 2025-01-12 10:56:32 +08:00
parent f81dffd072
commit 93673fd095
3 changed files with 9 additions and 2 deletions

View File

@ -199,6 +199,13 @@ function getValue() {
{{ $t('component.upload.upload') }}
</a-button>
</div>
<div class="flex flex-wrap">
请上传不超过
<div class="text-primary font-bold">[{{ maxSize }}MB]</div>
<div class="text-primary font-bold">[{{ accept.join(', ') }}]</div>
格式文件
</div>
</Upload>
</div>
</template>

View File

@ -79,7 +79,7 @@ const [BasicForm, formApi] = useVbenForm({
},
defaultValue: [],
label: '附件上传',
formItemClass: 'items-baseline',
formItemClass: 'items-start',
},
{
fieldName: 'flowCopyList',

View File

@ -70,7 +70,7 @@ const [BasicForm, formApi] = useVbenForm({
},
defaultValue: [],
label: '附件上传',
formItemClass: 'items-baseline',
formItemClass: 'items-start',
},
{
fieldName: 'flowCopyList',