From 78dce6dc6a0da94bd161f2643eb86222bd0c369d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Tue, 12 Nov 2024 11:04:04 +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=E4=BC=A0=E5=80=BC=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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/views/prepare/components/treeLog.vue b/src/renderer/src/views/prepare/components/treeLog.vue index b569b75..391f881 100644 --- a/src/renderer/src/views/prepare/components/treeLog.vue +++ b/src/renderer/src/views/prepare/components/treeLog.vue @@ -24,7 +24,7 @@ const emit = defineEmits(['onsuccess']) const dialogVisible = ref(false) - const getNodeInfo = ref([]) + const getNodeInfo = ref({}) const openDialog = () => { dialogVisible.value = true @@ -46,7 +46,10 @@ } const nodeClick = (data) => { - getNodeInfo.value = getFullObj(data.node) + getNodeInfo.value = { + textbookId:data.node.rootid, + bookList:getFullObj(data.node) + } } const save = () => {