edit 章节 #423

Merged
lyc merged 1 commits from lyc-dev into main 2024-12-04 15:08:29 +08:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 875cccae79 - Show all commits

View File

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