Compare commits

..

No commits in common. "8bd1eec801f96bef6c7714e9d2140c798e669fde" and "cc39253a7937200123a4f9d68d29125797666aab" have entirely different histories.

1 changed files with 2 additions and 3 deletions

View File

@ -143,9 +143,8 @@ const handleNodeClick = (data) => {
nodeData.label = nodeData.itemtitle
let parentNode
// children
if(nodeData.children){
//
// id == rootid
if(nodeData.parentid == nodeData.rootid){
parentNode = null
}
else{