Merge pull request 'edit 章节' (#423) from lyc-dev into main

This commit is contained in:
lyc 2024-12-04 15:08:27 +08:00
commit 8bd1eec801
1 changed files with 3 additions and 2 deletions

View File

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