实现自定义的树状表格
<el-table
size="mini"
:data="tableData1"
style="width: 100%"
row-key="id"
height="500"
cell-click
@row-click="handdle"
default-expand-all
:tree-props="{children: 'children', hasChildren: 'hasChildren'}">
<el-table-column
prop="name"
label="名称"
node-key="id"
width="500">
<template class="custom-tree-node" slot-scope="scope">
<i :class="scope.row.icon"><