Browse Source

Merge pull request #127356 in DEC/fineui from final/11.0 to release/11.0

* commit 'dd340525c2deafbb80915efab2ab5e5dd1d6aef5':
  无JIRA任务 同步
master
superman 2 years ago
parent
commit
30867e22a9
  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) { setValueMap: function (map) {
map = map || {}; map = map || {};
BI.each(this.buttons, function (i, item) { BI.each(this.buttons, function (i, item) {
if (BI.isNotNull(map[item.getValue()])) { if (BI.has(map, item.getValue())) {
item.setSelected && item.setSelected(true); item.setSelected && item.setSelected(true);
} else { } else {
item.setSelected && item.setSelected(false); item.setSelected && item.setSelected(false);

Loading…
Cancel
Save