list集合轉樹形結構

源數據格式: [{ "children": [], "hasChild": 1, "pid": 0, "id": 1, "text": "北京" }, { "children": [], "hasChild": 1, "pid": 1, "id": 2, "text": "納什空間" }, { "children": [], "hasChild": 0, "pid": 2, "id": 3, "t
相關文章
相關標籤/搜索