fix(plugin-fm): adjust upload file size to 1G which same as default on server side (#2236)
Close #2215.
This commit is contained in:
parent
20a7e9a657
commit
05058c04b6
@ -4,7 +4,7 @@ import { useContext } from 'react';
|
||||
import { useFmTranslation } from '../locale';
|
||||
|
||||
// 限制上传文件大小为 10M
|
||||
export const FILE_LIMIT_SIZE = 10 * 1024 * 1024;
|
||||
export const FILE_LIMIT_SIZE = 1024 * 1024 * 1024;
|
||||
|
||||
export const useUploadFiles = () => {
|
||||
const { service } = useBlockRequestContext();
|
||||
|
Loading…
Reference in New Issue
Block a user