Browse Source

Merge pull request #122270 in DEC/fineui from master to feature/x

* commit '4ee5ad1e5b9040a1283eae81190f13b9a7c276c3':
  无JIRA fix: value为null时选中状态处理
es6
superman 2 years ago
parent
commit
ebf1d303ae
  1. 2
      src/base/combination/group.button.js

2
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);

Loading…
Cancel
Save