element 树形表格
注意:getRowKey一定要
<el-table
ref="multipleTable1"
:data="tableData"
style="width: 100%"
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
:row-key="getRowKey"
@expand-change="expandChange"
>
<el-table-column type="expand">
<template slot-scope="props">
<el-table class="secondTable" :row-key="getRowKey" :ref="'child'+props.row.id" :data="props.row.children"
@selection-change="handleSelectionChange($event, props.row.id)" style="width: 100%">
<el-table-column type="selection" align="center" :reserve-selection="true"