feat: 将工作流与 FAQ 上传上限扩至 20MB

- 同步管理端、用户中心与后端工作流文件校验

- 扩展 FAQ 普通及分享上传限制并补充边界测试
This commit is contained in:
2026-07-30 17:39:13 +08:00
parent 2abff304ed
commit 100d744c25
12 changed files with 93 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ const props = defineProps({
});
const emit = defineEmits(['submit', 'update:modelValue']);
const MAX_IMAGE_SIZE = 5 * 1024 * 1024;
const MAX_IMAGE_SIZE = 20 * 1024 * 1024;
const ALLOWED_IMAGE_TYPES = new Set([
'image/gif',
'image/jpeg',