<template>
  <el-table-column :prop="col.prop" :label="col.label" align="center" show-overflow-tooltip>
    <template v-if="col.children">
      <my-chart-column v-for="(item, index) in col.children" :key="index" :col="item" />
    </template>
  </el-table-column>
</template>

<script>
export default {
  name: 'MyChartColumn',
  props: {
    col: {
      type: Object,
      required: true,
      default: () => {
        return {}
      }
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
