This commit is contained in:
parent
19efe185c5
commit
9a2a55c62b
|
@ -402,8 +402,8 @@ const changeBook = async(data) => {
|
||||||
let cata = parseCataByNode(data.node)
|
let cata = parseCataByNode(data.node)
|
||||||
currentNode.value = data.node
|
currentNode.value = data.node
|
||||||
uploadData.value.levelFirstId = cata[0]
|
uploadData.value.levelFirstId = cata[0]
|
||||||
uploadData.value.levelSecondId = cata[1]
|
uploadData.value.levelSecondId = cata[1]==null||cata[1]== undefined ? '' : cata[1]
|
||||||
uploadData.value.levelThirdId = cata[2]
|
uploadData.value.levelThirdId = cata[2]==null||cata[2]== undefined ? '' : cata[2]
|
||||||
uploadData.value.textbookId = data.textBook.curBookId
|
uploadData.value.textbookId = data.textBook.curBookId
|
||||||
getModelInfo({cataid: currentNode.value.id}).then(res=>{
|
getModelInfo({cataid: currentNode.value.id}).then(res=>{
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
|
Loading…
Reference in New Issue