elementui中
<el-table :data="tableData" style="width: 100%" v-loading="ctrl.loading" border row-key="id" :tree-props="{children: 'children'}" :default-expand-all="false">
:tree-props="{children: 'children'}"不回显数据:
后端的代码中定义的实体类中应该是:
List类型的数据才能传递给children
赋值: