fix: increase the upload file size limit of field-markdown-vditor (#5063)

This commit is contained in:
YANG QIA 2024-08-15 14:46:09 +08:00 committed by GitHub
parent 6416e64287
commit eb80f9635b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {