首先 不同权限的级别
查看 该行的数据信息,.children拿到所有权限
使用作用域插槽的形式,获取
<!-- 展开列 -->
<el-table-column type="expand">
<template slot-scope="scope">
{{scope.row}}
</template>
</el-table-column>
结构美化的效果 pre
<!-- 展开列 -->
<el-table-column type="expand">
<template slot-scope="scope">
<pre>
{{scope.row}}
</pre>
</template>
</el-table-column>
第一个children是一级权限。一级里面有二级 二级里面有三级 先渲染一级权限
3层for循环去渲染