chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions
+5 -5
View File
@@ -7,7 +7,7 @@ export default createComponent({
mixins: [CheckboxMixin({
bem,
role: 'radio',
parent: 'vanRadio'
parent: 'vanRadio',
})],
computed: {
@@ -18,17 +18,17 @@ export default createComponent({
set(val) {
(this.parent || this).$emit('input', val);
}
},
},
checked() {
return this.currentValue === this.name;
}
},
},
methods: {
toggle() {
this.currentValue = this.name;
}
}
},
},
});