Browse Source

REPORT-77722 fix: 修复text_editor直接作为root的时候,isValid报错问题

es6
zsmj 2 years ago
parent
commit
a2069f759f
  1. 3
      src/widget/editor/editor.text.js

3
src/widget/editor/editor.text.js

@ -23,8 +23,7 @@ BI.TextEditor = BI.inherit(BI.Widget, {
});
},
_init: function () {
BI.TextEditor.superclass._init.apply(this, arguments);
render: function () {
var self = this, o = this.options;
var border = o.simple ? 1 : 2;
if (BI.isNumber(o.height)) {

Loading…
Cancel
Save