Browse Source

Merge pull request #207150 in DEC/fineui from master to feature/x

* commit 'a51d292aa585ebf9f54a02df1e490ad16f6ba2cd':
  无JIRA configRender.call(this
research/test
superman 2 years ago
parent
commit
4745eba010
  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