Browse Source

无JIRA editor的watermark可以set为空

es6
zsmj 3 years ago
parent
commit
3b1267b193
  1. 7
      src/base/single/editor/editor.js

7
src/base/single/editor/editor.js

@ -239,10 +239,11 @@ BI.Editor = BI.inherit(BI.Single, {
return this.options.errorText;
},
setWatermark: function (v) {
this.setWaterMark(v);
},
setWaterMark: function (v) {
if (!BI.isKey(v)) {
return;
}
this.options.watermark = v;

Loading…
Cancel
Save