|
@ -80,7 +80,6 @@ |
|
|
generateList(node.children); |
|
|
generateList(node.children); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
console.log(dataList, '数据'); |
|
|
|
|
|
}; |
|
|
}; |
|
|
const getParentKey = ( |
|
|
const getParentKey = ( |
|
|
key: string | number, |
|
|
key: string | number, |
|
@ -310,7 +309,6 @@ |
|
|
return null; |
|
|
return null; |
|
|
}) |
|
|
}) |
|
|
.filter((item, i, self) => item && self.indexOf(item) === i); |
|
|
.filter((item, i, self) => item && self.indexOf(item) === i); |
|
|
console.log(expanded, '数据1111'); |
|
|
|
|
|
let selctky = []; |
|
|
let selctky = []; |
|
|
expanded.forEach((item) => { |
|
|
expanded.forEach((item) => { |
|
|
selctky.push(...item); |
|
|
selctky.push(...item); |
|
|