feat: 自定义accept显示

This commit is contained in:
dap
2025-03-29 22:13:58 +08:00
parent 60c398df39
commit 3655cae900
5 changed files with 46 additions and 13 deletions

View File

@@ -49,7 +49,7 @@ const ossIdList = defineModel<string | string[]>('value', {
});
const {
acceptFormat,
acceptStr,
handleChange,
handleRemove,
beforeUpload,
@@ -113,7 +113,7 @@ function currentPreview(file: UploadFile) {
class="text-primary mx-1 font-medium"
:class="{ 'upload-text__disabled': disabled }"
>
{{ acceptFormat }}
{{ acceptStr }}
</span>
</template>
</I18nT>