为某个table项添加slot

<el-table-column slot="ti_content" label="文章内容" align="left">
    <template slot-scope="scope">
        <div class="box-content">{{ scope.row.ti_content }}</div>
    </template>
</el-table-column>

  

posted @ 2020-09-11 08:51  鸣人卷~~  阅读(765)  评论(0编辑  收藏  举报