Browse Source

Pull request #2955: BI-110672 fix: 修复loading的时候丢失上下文的问题

Merge in VISUAL/fineui from ~JEFFREY.ZHANG/fineui:master to master

* commit '749ae96826f67ee2c4a58ad9a42813b1f6aea39f':
  BI-110672 fix: 修复loading的时候丢失上下文的问题
es6
Jeffrey.Zhang 2 years ago
parent
commit
969e9011d3
  1. 4
      src/base/1.pane.js

4
src/base/1.pane.js

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

Loading…
Cancel
Save