數據集合 轉化爲樹結構數據 並符合antd的樹結構數據

_handleTree(){ const testData2 = [ { sourceCode:"1", sourceName:"辦公管理", parentCode:"0"}, { sourceCode:"2", sourceName:"請假申請", parentCode:"1"}, { sourceCode:"3", sourceName:"出差申請"
相關文章
相關標籤/搜索