diff --git a/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/components/Edit.tsx b/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/components/Edit.tsx index fa1cf9eb8..fa828d063 100644 --- a/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/components/Edit.tsx +++ b/packages/plugins/@nocobase/plugin-field-markdown-vditor/src/client/components/Edit.tsx @@ -75,6 +75,7 @@ export const Edit = withDynamicSchemaProps((props) => { headers: apiClient.getHeaders(), multiple: false, fieldName: 'file', + max: 1024 * 1024 * 1024, // 1G format(files, responseText) { const response = JSON.parse(responseText); const formatResponse = {