This commit is contained in:
“zouyf” 2024-12-16 17:30:00 +08:00
parent 19efe185c5
commit 9a2a55c62b
1 changed files with 2 additions and 2 deletions

View File

@ -402,8 +402,8 @@ const changeBook = async(data) => {
let cata = parseCataByNode(data.node)
currentNode.value = data.node
uploadData.value.levelFirstId = cata[0]
uploadData.value.levelSecondId = cata[1]
uploadData.value.levelThirdId = cata[2]
uploadData.value.levelSecondId = cata[1]==null||cata[1]== undefined ? '' : cata[1]
uploadData.value.levelThirdId = cata[2]==null||cata[2]== undefined ? '' : cata[2]
uploadData.value.textbookId = data.textBook.curBookId
getModelInfo({cataid: currentNode.value.id}).then(res=>{
console.log(res)