mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
chore: add trailingComma
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user