Browse Source

无JIRA fix: button_group选中问题

es6
zsmj 2 years ago
parent
commit
4554674106
  1. 4
      packages/fineui/src/base/combination/group.button.js

4
packages/fineui/src/base/combination/group.button.js

@ -86,8 +86,8 @@ export class ButtonGroup extends Widget {
this.setValue(newValue);
})
: value;
if (isKey(value) || isNotEmptyArray(value)) {
this.setValue(value);
if (isKey(this.options.value) || isNotEmptyArray(this.options.value)) {
this.setValue(this.options.value);
}
}

Loading…
Cancel
Save