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

View File

@@ -13,14 +13,14 @@ export default createComponent({
checkedColor: String,
value: {
type: Array,
default: () => []
}
default: () => [],
},
},
watch: {
value(val) {
this.$emit('change', val);
}
},
},
methods: {
@@ -38,10 +38,10 @@ export default createComponent({
const names = children.map(item => item.name);
this.$emit('input', names);
}
},
},
render() {
return <div class={bem()}>{this.slots()}</div>;
}
},
});