Browse Source

fix: 可能真会存在叫render的属性名

es6
iapyang 4 years ago
parent
commit
fdd7a860de
  1. 2
      src/core/widget.js

2
src/core/widget.js

@ -185,7 +185,7 @@
_initElement: function () {
var self = this;
var render = this.options.render || this.render;
var render = BI.isFunction(this.options.render) ? this.options.render : this.render;
var els = render && render.call(this);
if (BI.isPlainObject(els)) {
els = [els];

Loading…
Cancel
Save