Browse Source

无JIRA任务 同步

research/test
windy 2 years ago
parent
commit
30376efc8c
  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