support Checkbox

support Checkbox
This commit is contained in:
梁灏 2017-03-01 17:58:40 +08:00
parent 06322514c6
commit cbe03a12b2
10 changed files with 146 additions and 29 deletions

View file

@ -33,7 +33,7 @@
data () {
return {
currentValue: this.value
}
};
},
computed: {
classes () {

View file

@ -63,6 +63,7 @@
}
},
mounted () {
// todo 使 while
if (this.$parent && this.$parent.$options.name === 'radioGroup') this.group = true;
if (!this.group) {
this.updateValue();