From 6de59fabfa15fa0fc8994df52dfb7321528d9666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Tue, 12 Nov 2024 14:48:14 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=94=B9=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/prepare/components/treeLog.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/views/prepare/components/treeLog.vue b/src/renderer/src/views/prepare/components/treeLog.vue index 391f881..9658dee 100644 --- a/src/renderer/src/views/prepare/components/treeLog.vue +++ b/src/renderer/src/views/prepare/components/treeLog.vue @@ -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 = () => {