primevue-mirror/src/components/columngroup/ColumnGroup.vue

30 lines
448 B
Vue
Raw Normal View History

2019-10-16 03:50:25 +00:00
<template>
<div>
<slot></slot>
</div>
</template>
<script>
export default {
name: 'columngroup',
props: {
type: {
type: String,
default: null
}
},
data() {
return {
2019-10-17 14:17:27 +00:00
children: null
2019-10-16 03:50:25 +00:00
};
},
mounted() {
2019-10-17 14:17:27 +00:00
this.children = this.$children;
2019-10-16 03:50:25 +00:00
},
computed: {
rows() {
2019-10-17 14:17:27 +00:00
return this.children;
2019-10-16 03:50:25 +00:00
}
}
}
</script>