fix(plugin-fm): adjust upload file size to 1G which same as default on server side (#2236)

Close #2215.
This commit is contained in:
Junyi 2023-07-11 22:47:57 +07:00 committed by GitHub
parent 20a7e9a657
commit 05058c04b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();