update checkboxGroup
update checkboxGroup
This commit is contained in:
parent
578ca32537
commit
f65e9be565
3 changed files with 32 additions and 1 deletions
|
@ -40,6 +40,7 @@
|
|||
change (data) {
|
||||
this.model = data;
|
||||
this.$emit('on-change', data);
|
||||
this.$dispatch('on-form-change', data);
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
|
|
@ -94,6 +94,7 @@
|
|||
this.$parent.change(this.model);
|
||||
} else {
|
||||
this.$emit('on-change', this.checked);
|
||||
this.$dispatch('on-form-change', this.checked);
|
||||
}
|
||||
},
|
||||
updateModel () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue