Commit 668e8916 authored by 姬鋆屾's avatar 姬鋆屾

推删除打印

parent 47295783
......@@ -136,7 +136,6 @@ function handleTree(data, id, parentId, children, rootId) {
const treeData = cloneData.filter((father) => {
let branchArr = cloneData.filter((child) => {
//返回每一项的子级数组
console.log(child[parentId]);
return father[id] === child[parentId];
});
branchArr.length > 0 ? (father.children = branchArr) : "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment