From 1833843bec94484ac999c41aed79686c7d6746ec Mon Sep 17 00:00:00 2001 From: zsmj Date: Thu, 26 May 2022 15:04:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=20=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=A7=E5=B0=8F=E6=8A=A5=E9=94=99=E6=94=AF=E6=8C=81?= =?UTF-8?q?errorText=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/input/file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 963a20f3d..b86963f41 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -573,7 +573,7 @@ BI.Msg.toast(o.errorText({ errorType: 1, file: item - }) || BI.i18nText("BI-Upload_File_Size_Error", Math.cell(wrap.maxSize / 1024 / 1024)), { level: "error" }); + }) || BI.i18nText("BI-Upload_File_Size_Error", Math.ceil(wrap.maxSize / 1024 / 1024)), { level: "error" }); self.fireEvent(BI.File.EVENT_ERROR, { errorType: 1, file: item