edit
This commit is contained in:
parent
f9a87143aa
commit
00871797bf
|
@ -96,7 +96,7 @@ const changeBook = (data) => {
|
|||
|
||||
const emitChangeBook = async () => {
|
||||
let curData = cloneDeep(toRaw(curNode.data))
|
||||
let parentNode = findParentByChildId(treeData.value, curNode.id)
|
||||
let parentNode = findParentByChildId(treeData.value, curData.id)
|
||||
curData.parentNode = toRaw(parentNode)
|
||||
const data = {
|
||||
textBook: {
|
||||
|
|
Loading…
Reference in New Issue