Browse Source

Pull request #127350: 无JIRA任务 同步

Merge in DEC/fineui from ~WINDY/fineui:persist/11.0 to persist/11.0

* commit '30376efc8cbd99c72381cb32cd698e094317dcf1':
  无JIRA任务 同步
master
windy 2 years ago
parent
commit
fe1078679f
  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