From 5da0b21e3adb75028a91e846eff60147cf27680d Mon Sep 17 00:00:00 2001 From: xiaozzzi <42293085+xiaozzzi@users.noreply.github.com> Date: Wed, 4 Oct 2023 23:23:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=A7=E5=B0=8F=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/renderer/src/views/picture/scripts/picture.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blossom-editor/src/renderer/src/views/picture/scripts/picture.ts b/blossom-editor/src/renderer/src/views/picture/scripts/picture.ts index 51f0126..6107389 100644 --- a/blossom-editor/src/renderer/src/views/picture/scripts/picture.ts +++ b/blossom-editor/src/renderer/src/views/picture/scripts/picture.ts @@ -24,7 +24,7 @@ export interface Picture { * @returns */ export const beforeUpload: UploadProps['beforeUpload'] = (rawFile) => { - if (rawFile.size / 1024 / 1024 > 10) { + if (rawFile.size / 1024 / 1024 > 50) { Notify.error('文件大小不能超过 50MB!', '上传失败') return false }