js、vue根据父节点id生成树形结构
>>这里是参考链接自己定义的假数据 let data = [ { employeeId: "", ouName: "", parentPosition: "", positionCode: "", preferredName: "", }, ]为了更灵活一些规定对象字段k