From c1a72092e16bdde2fd716ea85b5c9ac165a5f9c5 Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 19 Jan 2018 20:25:21 +0800 Subject: [PATCH] =?UTF-8?q?=5Fchildren=E6=8F=90=E5=87=BA=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/bundle.js | 2 +- dist/core.js | 2 +- dist/fineui.js | 2 +- src/core/widget.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 9c8c8ab55..2426b7bf0 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -12517,6 +12517,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12558,7 +12559,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () { diff --git a/dist/core.js b/dist/core.js index d538f6451..a70bcd09f 100644 --- a/dist/core.js +++ b/dist/core.js @@ -12517,6 +12517,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12558,7 +12559,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () { diff --git a/dist/fineui.js b/dist/fineui.js index 31ff82107..7bde1f0d5 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -12690,6 +12690,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12731,7 +12732,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () { diff --git a/src/core/widget.js b/src/core/widget.js index 35a489e9a..4e49504be 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -60,6 +60,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -101,7 +102,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () {