From 9072bb878bd851008df00af0b1a6a55526157b94 Mon Sep 17 00:00:00 2001 From: Dailer Date: Tue, 10 Jul 2018 10:42:11 +0800 Subject: [PATCH] =?UTF-8?q?DEC-2957=20=20=E9=83=A8=E9=97=A8=E6=A0=91?= =?UTF-8?q?=E5=B1=82=E7=BA=A7=E8=BF=87=E9=AB=98=E6=97=B6=E5=80=99concat?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E6=95=B0=E6=8D=AE=E8=BF=87=E5=A4=9A,?= =?UTF-8?q?=E5=8D=A1=E6=AD=BB=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 0235ebf25..6c529e147 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.concat(v, item.getValue()); + v = BI.union(v, item.getValue()); return; } if (item.isEnabled() && item.isSelected && item.isSelected()) {