From 30376efc8cbd99c72381cb32cd698e094317dcf1 Mon Sep 17 00:00:00 2001 From: windy Date: Wed, 3 Aug 2022 10:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/combination/group.button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/combination/group.button.js b/src/base/combination/group.button.js index ed4f9d680..b9e8f7127 100644 --- a/src/base/combination/group.button.js +++ b/src/base/combination/group.button.js @@ -236,7 +236,7 @@ BI.ButtonGroup = BI.inherit(BI.Widget, { setValueMap: function (map) { map = map || {}; BI.each(this.buttons, function (i, item) { - if (BI.isNotNull(map[item.getValue()])) { + if (BI.has(map, item.getValue())) { item.setSelected && item.setSelected(true); } else { item.setSelected && item.setSelected(false);