vant/packages/checkbox/src/checkbox-group.vue
2017-03-01 11:15:15 +08:00

23 lines
281 B
Vue

<template>
<div class="zan-checkbox-group">
<slot></slot>
</div>
</template>
<script>
export default {
name: 'zan-checkbox-group',
props: {
value: {},
disabled: Boolean
},
watch: {
value(val) {
this.$emit('change', val);
}
}
};
</script>