Browse Source

Pull request #1604: 无JIRA任务 后台回传数据可能真会存在叫render的属性名

Merge in VISUAL/fineui from ~TELLER/fineui:bugfix to master

* commit 'fdd7a860dea1a787ff43833edff4acbadee90f0e':
  fix: 可能真会存在叫render的属性名
master
Teller 4 years ago
parent
commit
f261dcdd04
  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