feat: 添加文件上传功能,集成 S3 上传,优化上传进度显示和错误处理

This commit is contained in:
2026-01-08 16:56:41 +07:00
parent 04a5beed89
commit edc81c5234
10 changed files with 278 additions and 48 deletions

View File

@@ -128,11 +128,15 @@ function handleSubmit(values: GenericObject) {
<Field v-slot="{ field }" name="proofDocuments">
<ui-file-upload
v-bind="field"
:fetch-options="{
businessType: 'rwa_proof',
}"
:label="t('asset.issue.apply.assetProof')"
:placeholder="t('asset.issue.apply.uploadAssetProof')"
:max-files="5"
:max-size="10"
accept="application/pdf,image/*,.doc,.docx"
@update:model-value="field.onChange($event.join(','))"
/>
</Field>
<ErrorMessage name="proofDocuments" />