From d965ae711d6c7bcff57166af5ae7a913aba16b1f Mon Sep 17 00:00:00 2001 From: Dailer Date: Tue, 10 Jul 2018 21:58:04 +0800 Subject: [PATCH] =?UTF-8?q?buttontree=20=E7=9A=84getValue=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E6=94=B9=E5=9B=9E=E5=8E=9F=E6=9D=A5=E7=9A=84...?= =?UTF-8?q?=E4=B8=8D=E7=84=B6bi.filter=20=20=E5=B4=A9=E4=BA=86.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/combination/tree.button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/combination/tree.button.js b/src/base/combination/tree.button.js index 6c529e1479..0235ebf25c 100644 --- a/src/base/combination/tree.button.js +++ b/src/base/combination/tree.button.js @@ -78,7 +78,7 @@ BI.ButtonTree = BI.inherit(BI.ButtonGroup, { var v = []; BI.each(this.buttons, function (i, item) { if (item.isEnabled() && !BI.isFunction(item.setSelected)) { - v = BI.union(v, item.getValue()); + v = BI.concat(v, item.getValue()); return; } if (item.isEnabled() && item.isSelected && item.isSelected()) {