[improvement] rename packages dir to src (#3659)

This commit is contained in:
neverland
2019-06-27 11:25:57 +08:00
committed by GitHub
parent 8489918dca
commit 75c79b7044
619 changed files with 21 additions and 21 deletions

View File

@@ -0,0 +1,24 @@
import { createNamespace } from '../utils';
import { ParentMixin } from '../mixins/relation';
const [createComponent, bem] = createNamespace('checkbox-group');
export default createComponent({
mixins: [ParentMixin('vanCheckbox')],
props: {
max: Number,
value: Array,
disabled: Boolean
},
watch: {
value(val) {
this.$emit('change', val);
}
},
render(h) {
return <div class={bem()}>{this.slots()}</div>;
}
});