diff --git a/bi/core.js b/bi/core.js index c4f7fd32c..af139ef2a 100644 --- a/bi/core.js +++ b/bi/core.js @@ -5659,8 +5659,8 @@ BI.View = BI.inherit(BI.V, { }); delete this._cardLayouts; delete this._cards; - this.off(); this.destroyed(); + this.off(); }, _destroy: function () { diff --git a/dist/core.js b/dist/core.js index 1b34ede59..bff4a585f 100644 --- a/dist/core.js +++ b/dist/core.js @@ -15528,8 +15528,8 @@ BI.View = BI.inherit(BI.V, { }); delete this._cardLayouts; delete this._cards; - this.off(); this.destroyed(); + this.off(); }, _destroy: function () { diff --git a/src/core/view.js b/src/core/view.js index dca3c65e8..cfeaa5a53 100644 --- a/src/core/view.js +++ b/src/core/view.js @@ -495,8 +495,8 @@ BI.View = BI.inherit(BI.V, { }); delete this._cardLayouts; delete this._cards; - this.off(); this.destroyed(); + this.off(); }, _destroy: function () {