diff --git a/bi/base.js b/bi/base.js index b656b208b..c12cc67a1 100644 --- a/bi/base.js +++ b/bi/base.js @@ -18182,7 +18182,7 @@ BI.MultifileEditor = BI.inherit(BI.Single, { return BI.extend(conf, { baseCls: (conf.baseCls || "") + " bi-multifile-editor", multiple: false, - maxSize: 1024 * 1024, + maxSize: -1,//1024 * 1024 accept: "", url: "" }) @@ -18943,7 +18943,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/** url: "", multiple: true, accept: "", /**'*.jpg; *.zip'**/ - maxSize: 1024 * 1024 + maxSize: -1 //1024 * 1024 }) }, @@ -19019,7 +19019,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/** }, 1000); }; _wrap.url = o.url ? o.url : BI.servletURL - + '?op=fr_attach&cmd=ah_upload'; + + '?op=fr_attach&cmd=ah_upload'; _wrap.fileType = o.accept; //文件类型限制 _wrap.attach_array = []; _wrap.attach_names = []; diff --git a/docs/base.js b/docs/base.js index b656b208b..c12cc67a1 100644 --- a/docs/base.js +++ b/docs/base.js @@ -18182,7 +18182,7 @@ BI.MultifileEditor = BI.inherit(BI.Single, { return BI.extend(conf, { baseCls: (conf.baseCls || "") + " bi-multifile-editor", multiple: false, - maxSize: 1024 * 1024, + maxSize: -1,//1024 * 1024 accept: "", url: "" }) @@ -18943,7 +18943,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/** url: "", multiple: true, accept: "", /**'*.jpg; *.zip'**/ - maxSize: 1024 * 1024 + maxSize: -1 //1024 * 1024 }) }, @@ -19019,7 +19019,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/** }, 1000); }; _wrap.url = o.url ? o.url : BI.servletURL - + '?op=fr_attach&cmd=ah_upload'; + + '?op=fr_attach&cmd=ah_upload'; _wrap.fileType = o.accept; //文件类型限制 _wrap.attach_array = []; _wrap.attach_names = []; diff --git a/src/base/single/editor/editor.multifile.js b/src/base/single/editor/editor.multifile.js index dd25c7c0e..b004217ec 100644 --- a/src/base/single/editor/editor.multifile.js +++ b/src/base/single/editor/editor.multifile.js @@ -12,7 +12,7 @@ BI.MultifileEditor = BI.inherit(BI.Single, { return BI.extend(conf, { baseCls: (conf.baseCls || "") + " bi-multifile-editor", multiple: false, - maxSize: 1024 * 1024, + maxSize: -1,//1024 * 1024 accept: "", url: "" }) diff --git a/src/base/single/input/file.js b/src/base/single/input/file.js index 8b4d57a11..8f4c75f83 100644 --- a/src/base/single/input/file.js +++ b/src/base/single/input/file.js @@ -399,7 +399,7 @@ url: "", multiple: true, accept: "", /**'*.jpg; *.zip'**/ - maxSize: 1024 * 1024 + maxSize: -1 //1024 * 1024 }) }, @@ -475,7 +475,7 @@ }, 1000); }; _wrap.url = o.url ? o.url : BI.servletURL - + '?op=fr_attach&cmd=ah_upload'; + + '?op=fr_attach&cmd=ah_upload'; _wrap.fileType = o.accept; //文件类型限制 _wrap.attach_array = []; _wrap.attach_names = [];