Compare commits

...

2 Commits

Author SHA1 Message Date
yangws 00b58644b1 Merge pull request 'fix:修改格式;' (#402) from yangws into main
Reviewed-on: #402
2024-11-12 14:48:52 +08:00
小杨 6de59fabfa fix:修改格式; 2024-11-12 14:48:14 +08:00
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,
bookList:getFullObj(data.node)
}
console.log(getNodeInfo.value,'log')
}
const save = () => {