mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 22:49:26 +08:00
fix: increase the upload file size limit of field-markdown-vditor (#5063)
This commit is contained in:
parent
6416e64287
commit
eb80f9635b
@ -75,6 +75,7 @@ export const Edit = withDynamicSchemaProps((props) => {
|
|||||||
headers: apiClient.getHeaders(),
|
headers: apiClient.getHeaders(),
|
||||||
multiple: false,
|
multiple: false,
|
||||||
fieldName: 'file',
|
fieldName: 'file',
|
||||||
|
max: 1024 * 1024 * 1024, // 1G
|
||||||
format(files, responseText) {
|
format(files, responseText) {
|
||||||
const response = JSON.parse(responseText);
|
const response = JSON.parse(responseText);
|
||||||
const formatResponse = {
|
const formatResponse = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user