Compare commits
No commits in common. "00b58644b1d3f3667998b3b9cec77423e3cc19fa" and "28a2f959035795d484940e1208dad9cb647ee1b6" have entirely different histories.
00b58644b1
...
28a2f95903
|
@ -35,7 +35,7 @@
|
|||
const recursive = (currentNode) => {
|
||||
// 这里添加节点参数
|
||||
if (currentNode.parentNode) {
|
||||
obj.unshift({id: currentNode.id,title:currentNode.itemtitle})
|
||||
obj.unshift(Object.assign({curentId: currentNode.id,title:currentNode.itemtitle}, currentNode.parentNode))
|
||||
recursive(currentNode.parentNode)
|
||||
} else {
|
||||
obj.unshift({id: currentNode.id,title:currentNode.itemtitle})
|
||||
|
@ -50,7 +50,6 @@
|
|||
textbookId:data.node.rootid,
|
||||
bookList:getFullObj(data.node)
|
||||
}
|
||||
console.log(getNodeInfo.value,'log')
|
||||
}
|
||||
|
||||
const save = () => {
|
||||
|
|
Loading…
Reference in New Issue