把数据所有的key转换成树形结构
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
转换出来的结果适用于antd的TreeSelect、Cascader组件
查看代码实现