diff --git a/dist/base.js b/dist/base.js index 16cc38d65b..8ab402101c 100644 --- a/dist/base.js +++ b/dist/base.js @@ -224,6 +224,16 @@ BI.Pane = BI.inherit(BI.Widget, { _init: function () { BI.Pane.superclass._init.apply(this, arguments); + if (this.beforeInit) { + this.loading(); + } + }, + + _render: function () { + BI.Pane.superclass._render.apply(this, arguments); + if (this.beforeInit) { + this.loaded(); + } }, _assertTip: function () { diff --git a/dist/bundle.js b/dist/bundle.js index edafe8f2c8..97f2d91f01 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -26218,6 +26218,16 @@ BI.Pane = BI.inherit(BI.Widget, { _init: function () { BI.Pane.superclass._init.apply(this, arguments); + if (this.beforeInit) { + this.loading(); + } + }, + + _render: function () { + BI.Pane.superclass._render.apply(this, arguments); + if (this.beforeInit) { + this.loaded(); + } }, _assertTip: function () { diff --git a/dist/fineui.js b/dist/fineui.js index 996ed9a149..a984561c9d 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -27972,6 +27972,16 @@ BI.Pane = BI.inherit(BI.Widget, { _init: function () { BI.Pane.superclass._init.apply(this, arguments); + if (this.beforeInit) { + this.loading(); + } + }, + + _render: function () { + BI.Pane.superclass._render.apply(this, arguments); + if (this.beforeInit) { + this.loaded(); + } }, _assertTip: function () { diff --git a/src/base/pane.js b/src/base/pane.js index d540bf2e03..adfe3f9664 100644 --- a/src/base/pane.js +++ b/src/base/pane.js @@ -19,6 +19,16 @@ BI.Pane = BI.inherit(BI.Widget, { _init: function () { BI.Pane.superclass._init.apply(this, arguments); + if (this.beforeInit) { + this.loading(); + } + }, + + _render: function () { + BI.Pane.superclass._render.apply(this, arguments); + if (this.beforeInit) { + this.loaded(); + } }, _assertTip: function () {