fix:修改格式传值; #401

Merged
yangws merged 1 commits from yangws into main 2024-11-12 11:04:33 +08:00
1 changed files with 5 additions and 2 deletions
Showing only changes of commit 78dce6dc6a - Show all commits

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