From 3b0eef5bbb964e6b6c57d4d77a31620bbf8af195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=85=B4=E5=87=AF?= <2448379534@qq.com> Date: Wed, 6 May 2026 09:32:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E7=9A=84?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E6=94=B9=E4=B8=BA200MB=EF=BC=8C=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=94=B9=E4=B8=BA10MB=EF=BC=8C=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=2020MB=EF=BC=8C=E5=BF=98=E8=AE=B0=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E5=92=8C=E6=B3=A8=E5=86=8C=E5=A4=9A=E4=B8=AA=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/login-sjtb/index.vue | 2 +- frontend/src/views/register/index.vue | 1 - .../guoYuSheShiShuJuTianBaoForm.vue | 8 ++++---- .../guoYuSheShiShuJuTianBaoSearch.vue | 2 +- .../views/shuJuTianBao/guoYuSheShiShuJuTianBao/index.vue | 6 +++--- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/frontend/src/views/login-sjtb/index.vue b/frontend/src/views/login-sjtb/index.vue index ae94e2f..9363310 100644 --- a/frontend/src/views/login-sjtb/index.vue +++ b/frontend/src/views/login-sjtb/index.vue @@ -313,7 +313,7 @@ const forgotPasswordRules = ref({ } ], confirmPassword: [ - { required: true, message: "请再次输入密码", trigger: "blur" }, + // { required: true, message: "请再次输入密码", trigger: "blur" }, { validator: (rule: any, value: string) => { if (!value) { diff --git a/frontend/src/views/register/index.vue b/frontend/src/views/register/index.vue index 03ef3b6..5b75f8b 100644 --- a/frontend/src/views/register/index.vue +++ b/frontend/src/views/register/index.vue @@ -237,7 +237,6 @@ const registerRules = { // 密码 password: [ - { required: true, message: "请输入密码", trigger: "blur" }, { validator: (rule: any, value: string) => { if (!value) { diff --git a/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/guoYuSheShiShuJuTianBaoForm.vue b/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/guoYuSheShiShuJuTianBaoForm.vue index d7b80ce..1905869 100644 --- a/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/guoYuSheShiShuJuTianBaoForm.vue +++ b/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/guoYuSheShiShuJuTianBaoForm.vue @@ -530,9 +530,9 @@ const beforeImageUpload: UploadProps["beforeUpload"] = (file) => { message.error("只能上传 JPG/PNG/JPEG 格式的图片!"); return Upload.LIST_IGNORE; } - const isLt2M = file.size / 1024 / 1024 < 5; // 限制5M,可根据需求调整 + const isLt2M = file.size / 1024 / 1024 < 10; // 限制10M,可根据需求调整 if (!isLt2M) { - message.error("图片大小不能超过 5MB!"); + message.error("图片大小不能超过 10MB!"); return Upload.LIST_IGNORE; } // 返回 false 阻止自动上传,我们手动处理 @@ -546,9 +546,9 @@ const beforeVideoUpload: UploadProps["beforeUpload"] = (file) => { message.error("只能上传 MP4 格式的视频!"); return Upload.LIST_IGNORE; } - const isLt50M = file.size / 1024 / 1024 < 10; // 限制50M,可根据需求调整 + const isLt50M = file.size / 1024 / 1024 < 20; // 限制20M,可根据需求调整 if (!isLt50M) { - message.error("视频大小不能超过 10MB!"); + message.error("视频大小不能超过 20MB!"); return Upload.LIST_IGNORE; } // 返回 false 阻止自动上传 diff --git a/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/guoYuSheShiShuJuTianBaoSearch.vue b/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/guoYuSheShiShuJuTianBaoSearch.vue index 9cd4e1a..68d13c6 100644 --- a/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/guoYuSheShiShuJuTianBaoSearch.vue +++ b/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/guoYuSheShiShuJuTianBaoSearch.vue @@ -57,7 +57,7 @@ diff --git a/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/index.vue b/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/index.vue index 65c6bbb..0470d45 100644 --- a/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/index.vue +++ b/frontend/src/views/shuJuTianBao/guoYuSheShiShuJuTianBao/index.vue @@ -778,10 +778,10 @@ const handleFileSelect = (e: Event) => { const file = target.files?.[0]; if (!file) return; - // 校验文件大小 (50MB) - const maxSize = 50 * 1024 * 1024; + // 校验文件大小 (300MB) + const maxSize = 300 * 1024 * 1024; if (file.size > maxSize) { - message.error("文件大小不能超过50MB"); + message.error("文件大小不能超过300MB"); resetFileInput(); return; }