单行渲染
<el-table-column>
<template slot-scope="scope">
<el-tag
:type="scope.row.tag === '家' ? 'primary' : 'success'"
disable-transitions>{{scope.row.tag}}</el-tag>
</template>
</el-table-column>
多行渲染
<el-table-column
align="center"
v-for="item in tableColumn"
:key="item.prop"
:prop="item.prop"
:label="item.label"
>
<template slot-scope="scope">
<span v-if="item.prop === 'type'">我是type</span>
<span v-else>{{ scope.row[item.prop] }}</span>
</template>
</el-table-column>