Browse Source

Merge remote-tracking branch 'origin/master' into KERNEL-11169

es6
iapyang 2 years ago
parent
commit
b78e9a4795
  1. 2
      package.json
  2. 4
      src/base/single/editor/editor.multifile.js
  3. 7
      src/base/single/input/file.js

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20220628214344",
"version": "2.0.20220630111602",
"description": "fineui",
"main": "dist/fineui_without_conflict.min.js",
"types": "dist/lib/index.d.ts",

4
src/base/single/editor/editor.multifile.js

@ -71,6 +71,10 @@ BI.MultifileEditor = BI.inherit(BI.Widget, {
this.file.reset();
},
setUrl: function (v) {
this.file.setUrl(v);
},
setMaxFileLength: function (v) {
this.file.setMaxFileLength(v);
},

7
src/base/single/input/file.js

@ -655,6 +655,13 @@
});
},
setUrl: function(v) {
this.options.url = v;
if (this.wrap) {
this.wrap.url = v;
}
},
setMaxFileLength: function (v) {
this.options.maxLength = v;
if (this.wrap) {

Loading…
Cancel
Save