feat: 添加文件上传功能,集成 S3 上传,优化上传进度显示和错误处理
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user