Compare commits

...

2 Commits

Author SHA1 Message Date
lyc 8bd1eec801 Merge pull request 'edit 章节' (#423) from lyc-dev into main 2024-12-04 15:08:27 +08:00
lyc 875cccae79 edit 章节 2024-12-04 15:07:52 +08:00
1 changed files with 3 additions and 2 deletions

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{