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 = () => {