Browse Source

无JIRA revert commit c45e768, 不是实时校验的一律不许用气泡

es6
zsmj 2 years ago
parent
commit
5fd597275e
  1. 5
      src/base/single/editor/editor.js
  2. 4
      src/widget/editor/editor.text.js

5
src/base/single/editor/editor.js

@ -344,11 +344,6 @@ BI.Editor = BI.inherit(BI.Single, {
return this.editor.isValid();
},
setValid: function (b) {
this.editor.setValid(b);
this._checkError();
},
destroyed: function () {
BI.Bubbles.remove(this.getName());
},

4
src/widget/editor/editor.text.js

@ -138,10 +138,6 @@ BI.TextEditor = BI.inherit(BI.Widget, {
return this.editor.isValid();
},
setValid: function (b) {
this.editor.setValid(b);
},
setValue: function (v) {
this.editor.setValue(v);
},

Loading…
Cancel
Save