Browse Source

Pull request #3217: 无JIRA configRender.call(this

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '196b635553db69af306fd0276c135fae307e6320':
  无JIRA configRender.call(this
es6
Dailer-刘荣歆 2 years ago
parent
commit
a51d292aa5
  1. 2
      src/core/4.widget.js

2
src/core/4.widget.js

@ -364,7 +364,7 @@
var workerMode = BI.Providers.getProvider("bi.provider.system").getWorkerMode(); var workerMode = BI.Providers.getProvider("bi.provider.system").getWorkerMode();
var render = BI.isFunction(this.options.render) ? this.options.render : (workerMode ? (this.$render || this.render) : this.render); var render = BI.isFunction(this.options.render) ? this.options.render : (workerMode ? (this.$render || this.render) : this.render);
var els = render && render.call(this); var els = render && render.call(this);
els = this.options.configRender ? this.options.configRender(els) : els; els = this.options.configRender ? this.options.configRender.call(this, els) : els;
els = BI.Plugin.getRender(this.options.type, els); els = BI.Plugin.getRender(this.options.type, els);
if (BI.isPlainObject(els)) { if (BI.isPlainObject(els)) {
els = [els]; els = [els];

Loading…
Cancel
Save