TreeSelect关于树的渲染
ytaook
8
0
PDF
2021-01-31 07:01:13
//父节点 renderTreeNode(orgtree) { let treeNode = []; orgtree.map((ele, index) => { treeNode.push( {this.renderChildOne(ele)} ) }) return treeNode; }; //一级子节点 renderChildOne(ele) { let childLevel1 = []; if(ele.data){ ele.data.map((ele, index)
暂无评论