From 35be7fa841eaebbf5fb2ff520c11f6fab88ddb96 Mon Sep 17 00:00:00 2001 From: "Frank.Qiu" Date: Thu, 4 Jan 2018 09:33:26 +0800 Subject: [PATCH] =?UTF-8?q?select=5Flevel=5Ftree=E7=9A=84populate=E5=A4=84?= =?UTF-8?q?=E7=90=86items?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/bundle.js | 2 +- dist/widget.js | 2 +- src/widget/selecttree/selecttree.popup.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 0aee535768..be51982d64 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -92336,7 +92336,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, { populate: function (items) { BI.SelectTreePopup.superclass.populate.apply(this, arguments); - this.tree.populate(items); + this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(items))); } }); diff --git a/dist/widget.js b/dist/widget.js index c996e889bd..43f0aa3565 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -16282,7 +16282,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, { populate: function (items) { BI.SelectTreePopup.superclass.populate.apply(this, arguments); - this.tree.populate(items); + this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(items))); } }); diff --git a/src/widget/selecttree/selecttree.popup.js b/src/widget/selecttree/selecttree.popup.js index b0933756b2..63170e5cf5 100644 --- a/src/widget/selecttree/selecttree.popup.js +++ b/src/widget/selecttree/selecttree.popup.js @@ -89,7 +89,7 @@ BI.SelectTreePopup = BI.inherit(BI.Pane, { populate: function (items) { BI.SelectTreePopup.superclass.populate.apply(this, arguments); - this.tree.populate(items); + this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(items))); } });