Compare commits
2 Commits
85529ad81f
...
fa7a44472b
Author | SHA1 | Date |
---|---|---|
lyc | fa7a44472b | |
lyc | 00871797bf |
|
@ -96,7 +96,7 @@ const changeBook = (data) => {
|
||||||
|
|
||||||
const emitChangeBook = async () => {
|
const emitChangeBook = async () => {
|
||||||
let curData = cloneDeep(toRaw(curNode.data))
|
let curData = cloneDeep(toRaw(curNode.data))
|
||||||
let parentNode = findParentByChildId(treeData.value, curNode.id)
|
let parentNode = findParentByChildId(treeData.value, curData.id)
|
||||||
curData.parentNode = toRaw(parentNode)
|
curData.parentNode = toRaw(parentNode)
|
||||||
const data = {
|
const data = {
|
||||||
textBook: {
|
textBook: {
|
||||||
|
|
Loading…
Reference in New Issue