mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-22 22:44:31 +08:00
feat: 自定义accept显示
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user