mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[Improvement] Support Vue.use to register a component (#401)
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
import { create } from '../utils';
|
||||
|
||||
export default create({
|
||||
name: 'van-checkbox-group',
|
||||
|
||||
props: {
|
||||
@@ -18,5 +20,5 @@ export default {
|
||||
this.$emit('change', val);
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user