fixed CheckboxGroup bug
fixed CheckboxGroup bug
This commit is contained in:
parent
d31b080199
commit
829a2e4cfc
2 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
const prefixCls = 'ivu-checkbox-group';
|
||||
|
||||
export default {
|
||||
name: 'checkboxGroup',
|
||||
props: {
|
||||
model: {
|
||||
type: Array,
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
}
|
||||
},
|
||||
ready () {
|
||||
if (this.$parent && this.$parent.$options.name === 'checkboxGroup') this.group = true;
|
||||
if (!this.group) {
|
||||
this.updateModel();
|
||||
if (this.$els.slot && this.$els.slot.innerHTML === '') {
|
||||
|
|
Loading…
Add table
Reference in a new issue