element table嵌套二级
![](https://i-blog.csdnimg.cn/blog_migrate/4d915d2285dde747d929a3be737794cf.png)
vue html
<el-table :row-class-name="getRowClass"
:data="tableData.slice((paginForm.currentPage - 1) * paginForm.pageSize, paginForm.currentPage * paginForm.pageSize)"
style="width: 100%;"
:header-cell-style="{ color: '#888', background: '#F2F3F5',height:'42px',fontWeight:'normal'}"
:cell-style="{borderBottom: '1px dashed rgb(187,187,187)'}">
<el-table-column type="expand">
<template slot-scope="props" v-if="props.row.children!=[]">
<research-children @editChildRow="editChildRow" ref="childresearch" :datalist="props.row"&