xudaotutou
Results
2
comments of
xudaotutou
用Object.create继承context也许可以避免污染原来的context
``` typescript const list2tree = (list: Node[]): Node => list.reduce(([_, children], v) => { const pid = v.pid const id = v.id // 获取引用 let ch = children.get(pid) if (ch)...