From 91180a13e864c7610e213297e8912f702edeafbb Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 11 May 2018 10:58:30 +0800 Subject: [PATCH] =?UTF-8?q?valuechooserpane=E6=97=A0=E6=B3=95=E4=BF=9D?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/bundle.js | 3 +-- dist/fineui.js | 3 +-- dist/widget.js | 3 +-- src/component/valuechooser/pane.valuechooser.js | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index d7528d565..afe1fb2db 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -111708,8 +111708,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE); }); if (BI.isNotNull(o.items)) { - this.items = o.items; - this.populate(); + this.populate(o.items); } }, diff --git a/dist/fineui.js b/dist/fineui.js index 524fa395b..cfd76eece 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -111951,8 +111951,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE); }); if (BI.isNotNull(o.items)) { - this.items = o.items; - this.populate(); + this.populate(o.items); } }, diff --git a/dist/widget.js b/dist/widget.js index eb574f36d..65e26070a 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -24192,8 +24192,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE); }); if (BI.isNotNull(o.items)) { - this.items = o.items; - this.populate(); + this.populate(o.items); } }, diff --git a/src/component/valuechooser/pane.valuechooser.js b/src/component/valuechooser/pane.valuechooser.js index 2e5b51e56..cd610fcfa 100644 --- a/src/component/valuechooser/pane.valuechooser.js +++ b/src/component/valuechooser/pane.valuechooser.js @@ -31,8 +31,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, { self.fireEvent(BI.ValueChooserPane.EVENT_CHANGE); }); if (BI.isNotNull(o.items)) { - this.items = o.items; - this.populate(); + this.populate(o.items); } },