From e6d3e29ca1f206931740cb15e8adf3090f2c2512 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 18 Feb 2020 11:42:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- safesite/templates/edulessonaddwj.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/safesite/templates/edulessonaddwj.html b/safesite/templates/edulessonaddwj.html index f6f8e697..c256c85f 100644 --- a/safesite/templates/edulessonaddwj.html +++ b/safesite/templates/edulessonaddwj.html @@ -255,8 +255,8 @@ var imagSize = fileObj.size; - if (imagSize > 1024 * 1024 * 10) { - alert("文件大小为:" + (imagSize / (1024 * 1024)).toFixed(2) + "M,超出了上传大小," + "请选择10M以内的文件!"); + if (imagSize > 1024 * 1024 * 100) { + alert("文件大小为:" + (imagSize / (1024 * 1024)).toFixed(2) + "M,超出了上传大小," + "请选择100M以内的文件!"); $("#videoName").text('文件太大了超出范围!'); return false; }