fixed CheckboxGroup bug

fixed CheckboxGroup bug
This commit is contained in:
梁灏 2016-12-21 20:48:11 +08:00
parent fc640135d6
commit c1f6da1f8e
3 changed files with 25 additions and 41 deletions

View file

@ -43,11 +43,12 @@
},
watch: {
model (val, oldVal) {
if (val == oldVal) {
this.updateModel();
} else {
this.updateModel(true);
}
// if (val == oldVal) {
// this.updateModel();
// } else {
// this.updateModel(true);
// }
this.updateModel(true);
}
}
}