Merge pull request 'fix:修改格式传值;' (#401) from yangws into main

Reviewed-on: #401
This commit is contained in:
yangws 2024-11-12 11:04:31 +08:00
commit 28a2f95903
1 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,7 @@
const emit = defineEmits(['onsuccess']) const emit = defineEmits(['onsuccess'])
const dialogVisible = ref(false) const dialogVisible = ref(false)
const getNodeInfo = ref([]) const getNodeInfo = ref({})
const openDialog = () => { const openDialog = () => {
dialogVisible.value = true dialogVisible.value = true
@ -46,7 +46,10 @@
} }
const nodeClick = (data) => { const nodeClick = (data) => {
getNodeInfo.value = getFullObj(data.node) getNodeInfo.value = {
textbookId:data.node.rootid,
bookList:getFullObj(data.node)
}
} }
const save = () => { const save = () => {