Merge branch 'main' into zhuhao_dev

This commit is contained in:
朱浩 2024-11-12 14:49:26 +08:00
commit 77921f7e61
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,7 @@
const recursive = (currentNode) => {
//
if (currentNode.parentNode) {
obj.unshift(Object.assign({curentId: currentNode.id,title:currentNode.itemtitle}, currentNode.parentNode))
obj.unshift({id: currentNode.id,title:currentNode.itemtitle})
recursive(currentNode.parentNode)
} else {
obj.unshift({id: currentNode.id,title:currentNode.itemtitle})
@ -50,6 +50,7 @@
textbookId:data.node.rootid,
cataList:getFullObj(data.node)
}
console.log(getNodeInfo.value,'log')
}
const save = () => {