添加回调

This commit is contained in:
朱浩 2024-11-12 14:49:16 +08:00
parent 28a2f95903
commit ac1cad8fd0
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
import { ref, defineExpose,defineEmits } from 'vue' import { ref, defineExpose,defineEmits } from 'vue'
import ChooseTextbook from './chooseTextbook.vue' import ChooseTextbook from './chooseTextbook.vue'
const emit = defineEmits(['onsuccess']) const emit = defineEmits(['onsuccess'])
const dialogVisible = ref(false) const dialogVisible = ref(false)
const getNodeInfo = ref({}) const getNodeInfo = ref({})
@ -48,7 +48,7 @@
const nodeClick = (data) => { const nodeClick = (data) => {
getNodeInfo.value = { getNodeInfo.value = {
textbookId:data.node.rootid, textbookId:data.node.rootid,
bookList:getFullObj(data.node) cataList:getFullObj(data.node)
} }
} }