Browse Source

Merge branch 'es6' of ssh://code.fineres.com:7999/~treecat/fineui into es6

es6
Treecat 2 years ago
parent
commit
9d6968c15a
  1. 1
      .gitignore
  2. 4
      packages/fineui/src/base/combination/group.button.js

1
.gitignore vendored

@ -3,3 +3,4 @@ packages/demo/dist
packages/fineui/dist/* packages/fineui/dist/*
!packages/fineui/dist/font !packages/fineui/dist/font
!packages/fineui/dist/images !packages/fineui/dist/images
.idea/

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

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

Loading…
Cancel
Save