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') }} {{ $t('component.upload.upload') }}
</a-button> </a-button>
</div> </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> </Upload>
</div> </div>
</template> </template>

View File

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

View File

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