<el-table
max-height="840px"
:data="treeData"
default-expand-all
:row-key="getRowKey"
border
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
:header-cell-style="{background:'#FAFAFA'}"
>
</el-table>
getRowKey(row) {
if (row.id == 0) {
return row.id + 'one'
} else {
return row.id
}
},