Compare commits

...

2 Commits

Author SHA1 Message Date
lyc fa7a44472b Merge pull request 'edit' (#239) from lyc-dev into main 2024-09-20 15:24:19 +08:00
lyc 00871797bf edit 2024-09-20 15:24:23 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -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: {