diff --git a/dist/base.js b/dist/base.js index 16cc38d65..8ab402101 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 edafe8f2c..97f2d91f0 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 996ed9a14..a984561c9 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 d540bf2e0..adfe3f966 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 () {