From 749ae96826f67ee2c4a58ad9a42813b1f6aea39f Mon Sep 17 00:00:00 2001 From: zhangzijie01 Date: Fri, 29 Jul 2022 17:20:36 +0800 Subject: [PATCH] =?UTF-8?q?BI-110672=20fix:=20=E4=BF=AE=E5=A4=8Dloading?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E4=B8=A2=E5=A4=B1=E4=B8=8A=E4=B8=8B?= =?UTF-8?q?=E6=96=87=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/1.pane.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/1.pane.js b/src/base/1.pane.js index 0a4c93a96..c3e201f58 100644 --- a/src/base/1.pane.js +++ b/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);