Browse Source

BI-55554 fix: shelter_editor代码同步signeditor

es6
windy 5 years ago
parent
commit
174967d014
  1. 3
      src/case/editor/editor.shelter.js

3
src/case/editor/editor.shelter.js

@ -137,7 +137,6 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
});
this._showHint();
self._checkText();
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_checkText: function () {
@ -149,6 +148,7 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
this.text.setValue(this.editor.getValue());
this.text.element.removeClass("bi-water-mark");
}
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
_showInput: function () {
@ -239,7 +239,6 @@ BI.ShelterEditor = BI.inherit(BI.Widget, {
var o = this.options;
this.editor.setValue(k);
this._checkText();
BI.isKey(o.keyword) && this.text.doRedMark(o.keyword);
},
getValue: function () {

Loading…
Cancel
Save