| xqd
@@ -68,8 +68,8 @@ class FileUpload {
|
|
|
swf: "/base/webuploader/uploader.swf",
|
|
|
server: "/admin/Base/Attachment/webupload",
|
|
|
fileNumLimit: 300,
|
|
|
- fileSizeLimit: 20 * 1024 * 1024,
|
|
|
- fileSingleSizeLimit: 20 * 1024 * 1024,
|
|
|
+ fileSizeLimit: 30 * 1024 * 1024,
|
|
|
+ fileSingleSizeLimit: 30 * 1024 * 1024,
|
|
|
});
|
|
|
uploader.option("formData", {
|
|
|
$extParam
|
| xqd
@@ -82,7 +82,7 @@ class FileUpload {
|
|
|
});
|
|
|
uploader.on("error",function(type){
|
|
|
if(type=='F_EXCEED_SIZE'){
|
|
|
- layer.msg("上传的文件不大于20MB", {icon: 2});
|
|
|
+ layer.msg("上传的文件不大于30MB", {icon: 2});
|
|
|
return false;
|
|
|
}else if(type=="Q_TYPE_DENIED"){
|
|
|
layer.msg("请上传格式正确的文件", {icon: 2});
|