Browse Source

BI-88018 fix: 删空了再删一下水印不见了

es6
windy 4 years ago
parent
commit
bf8b297f4d
  1. 2
      src/base/single/editor/editor.textarea.js

2
src/base/single/editor/editor.textarea.js

@ -80,7 +80,7 @@ BI.TextAreaEditor = BI.inherit(BI.Single, {
}); });
this.content.element.keydown(function () { this.content.element.keydown(function () {
// 水印快速消失 // 水印快速消失
self.watermark && self.watermark.setVisible(false); self._checkWaterMark();
}); });
this.content.element.keyup(function (e) { this.content.element.keyup(function (e) {
self.fireEvent(BI.TextAreaEditor.EVENT_KEY_DOWN, e.keyCode); self.fireEvent(BI.TextAreaEditor.EVENT_KEY_DOWN, e.keyCode);

Loading…
Cancel
Save