From c5cfe557da577eb84d03cdb8dc7dc11b47df20d6 Mon Sep 17 00:00:00 2001 From: zhaoying Date: Thu, 19 Mar 2026 14:31:54 +0800 Subject: [PATCH] fix(web): change file size limit --- .../components/FeaturesConfig/FileUploadSettingModal.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/views/ApplicationConfig/components/FeaturesConfig/FileUploadSettingModal.tsx b/web/src/views/ApplicationConfig/components/FeaturesConfig/FileUploadSettingModal.tsx index f30b5aa8..818fd559 100644 --- a/web/src/views/ApplicationConfig/components/FeaturesConfig/FileUploadSettingModal.tsx +++ b/web/src/views/ApplicationConfig/components/FeaturesConfig/FileUploadSettingModal.tsx @@ -2,7 +2,7 @@ * @Author: ZhaoYing * @Date: 2026-03-05 * @Last Modified by: ZhaoYing - * @Last Modified time: 2026-03-19 09:59:42 + * @Last Modified time: 2026-03-19 14:31:20 */ import { forwardRef, useImperativeHandle, useState } from 'react'; import { Form, InputNumber, Flex, Switch, Row, Col, Radio } from 'antd'; @@ -58,7 +58,7 @@ const defaultValues: FileUpload = { document_max_size_mb: 100, document_allowed_extensions: ['pdf', 'docx', 'xlsx', 'txt', 'csv', 'json'], video_enabled: false, - video_max_size_mb: 500, + video_max_size_mb: 100, video_allowed_extensions: ['mp4', 'mov', 'avi', 'webm'], max_file_count: 5, allowed_transfer_methods: 'both' @@ -161,7 +161,7 @@ const FileUploadSettingModal = forwardRef
{t('application.singleMaxSize')}:
- +