mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix(plugin-fm): fix confusing size limit hint (#4153)
This commit is contained in:
parent
5da0d4e75b
commit
f16add313d
@ -306,7 +306,7 @@ Upload.DraggerV2 = withDynamicSchemaProps(
|
||||
(props: DraggerV2Props) => {
|
||||
const { t } = useTranslation();
|
||||
const defaultTitle = t('Click or drag file to this area to upload');
|
||||
const defaultSubTitle = t('Support for a single or bulk upload, file size should not exceed') + ` 10MB`;
|
||||
const defaultSubTitle = t('Support for a single or bulk upload');
|
||||
|
||||
// 新版 UISchema(1.0 之后)中已经废弃了 useProps,这里之所以继续保留是为了兼容旧版的 UISchema
|
||||
const { title = defaultTitle, subTitle = defaultSubTitle, ...extraProps } = useProps(props);
|
||||
|
Loading…
x
Reference in New Issue
Block a user