<template>
	<div class="efly-table-coloum" v-if="status.show">
		<slot name="header" v-if="!header && status.type === 'header'"></slot>
		<div v-if="header && status.type === 'header'">{{header}}</div>
		<div v-if="prop && status.type !== 'header' && data[row-1]">{{data[row-1][prop]}}</div>
		<slot v-bind:data="data[row-1]" v-bind:row="row-1" v-if="status.type !== 'header' && data[row-1]"></slot>
	</div>
</template>

<script>
    import EflyTableColum from './table-column';

    export default EflyTableColum;
</script>

<style lang="scss" scoped>
</style>
