From 50d7717efbc4cb8999a184812871ce2446fa0d6a Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Wed, 10 Aug 2022 16:50:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/com.actionsoft.apps.coe.pal/js/coe.pal.pl.upfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.pal.pl.upfile.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.pal.pl.upfile.js index 1ba29f73..22414cd7 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.pal.pl.upfile.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.pal.pl.upfile.js @@ -74,7 +74,7 @@ $(function() { "*.jpg; *.jpeg; *.gif; *.png; *.bmp; *.pdf; *.doc; *.docx; *.xls; *.xlsx; *.ppt; *.pptx; *.txt,*.mp3; *.mp4; *.avi; *.mpeg; *.flv; *.swf; *.wmv"]], repositoryName: repositoryName, numLimit : 0, - sizeLimit : 256 * 1024 * 1024, + sizeLimit : 500 * 1024 * 1024, complete:function(data, e){ //事件回调函数 }, @@ -104,10 +104,10 @@ $(function() { upfileAccessoryTmpObj = tmpObj; // 开始校验 - if (data.files[0].size > 256 * 1024 * 1024) { + if (data.files[0].size > 500 * 1024 * 1024) { upfileAccessoryTmpObj[data.files[0].name] = { status: 'error', - msg: '文件过大, 不能大于256M', + msg: '文件过大, 不能大于500M', name: data.files[0].name } return false;