Browse Source

feat: config中传下context

es6
iapyang 2 years ago
parent
commit
56497d7b2e
  1. 3
      src/base/1.pane.js

3
src/base/1.pane.js

@ -41,7 +41,8 @@ BI.Pane = BI.inherit(BI.Widget, {
loading: function () { loading: function () {
var self = this, o = this.options; var self = this, o = this.options;
var loadingAnimation = BI.Providers.getProvider("bi.provider.system").getLoading({ var loadingAnimation = BI.Providers.getProvider("bi.provider.system").getLoading({
loadingSize: o.loadingSize loadingSize: o.loadingSize,
context: this
}); });
// pane在同步方式下由items决定tipText的显示与否 // pane在同步方式下由items决定tipText的显示与否
// loading的异步情况下由loaded后对面板的populate的时机决定 // loading的异步情况下由loaded后对面板的populate的时机决定

Loading…
Cancel
Save