From 05219910d5b8fad6ca83286e1903772cceca87da Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Wed, 14 Mar 2018 08:52:29 +0800 Subject: [PATCH] update --- dist/bundle.js | 9 ++------- dist/widget.js | 9 ++------- .../multilayersingletree.leveltree.js | 9 ++------- 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 7c11e9986..038286095 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -91627,11 +91627,6 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { el: { type: "bi.button_tree", chooseType: BI.Selection.Single, - behaviors: { - redmark: function () { - return true; - } - }, layouts: [{ type: "bi.vertical" }] @@ -91645,8 +91640,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { }); }, - populate: function (nodes, keyword) { - this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(nodes), 0), keyword); + populate: function (nodes) { + this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(nodes), 0)); }, setValue: function (v) { diff --git a/dist/widget.js b/dist/widget.js index 38da7bab1..6af441b1b 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -6738,11 +6738,6 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { el: { type: "bi.button_tree", chooseType: BI.Selection.Single, - behaviors: { - redmark: function () { - return true; - } - }, layouts: [{ type: "bi.vertical" }] @@ -6756,8 +6751,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { }); }, - populate: function (nodes, keyword) { - this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(nodes), 0), keyword); + populate: function (nodes) { + this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(nodes), 0)); }, setValue: function (v) { diff --git a/src/widget/multilayersingletree/multilayersingletree.leveltree.js b/src/widget/multilayersingletree/multilayersingletree.leveltree.js index d876a3cc6..ae0948cc1 100644 --- a/src/widget/multilayersingletree/multilayersingletree.leveltree.js +++ b/src/widget/multilayersingletree/multilayersingletree.leveltree.js @@ -90,11 +90,6 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { el: { type: "bi.button_tree", chooseType: BI.Selection.Single, - behaviors: { - redmark: function () { - return true; - } - }, layouts: [{ type: "bi.vertical" }] @@ -108,8 +103,8 @@ BI.MultiLayerSingleLevelTree = BI.inherit(BI.Widget, { }); }, - populate: function (nodes, keyword) { - this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(nodes), 0), keyword); + populate: function (nodes) { + this.tree.populate(this._formatItems(BI.Tree.transformToTreeFormat(nodes), 0)); }, setValue: function (v) {