fixed checkbox bug in vue.js 1.0.27

fixed checkbox bug in vue.js 1.0.27
This commit is contained in:
梁灏 2016-09-24 23:30:07 +08:00
parent e9ba11a569
commit 39e6e96563
3 changed files with 17 additions and 3 deletions

View file

@ -35,6 +35,7 @@
});
},
change (data) {
this.model = data;
this.$emit('on-change', data);
}
},