添加回调
This commit is contained in:
parent
28a2f95903
commit
ac1cad8fd0
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue