树形表格展示 通过设置
row-key=“id” :tree-props="{children: ‘children’, hasChildren: ‘hasChildren’}"
默认是第一列,显示折叠展开的符号 通过 **type=""**来指定拿列显示 符号,比如 想指定第4列,就把前边3列都加上 type =""
代码
树形表格展示 通过设置
row-key=“id” :tree-props="{children: ‘children’, hasChildren: ‘hasChildren’}"
默认是第一列,显示折叠展开的符号 通过 **type=""**来指定拿列显示 符号,比如 想指定第4列,就把前边3列都加上 type =""
代码