Merge branch 'main' into zhuhao_dev
This commit is contained in:
commit
9a5581cea3
|
@ -235,6 +235,7 @@ onMounted( async () => {
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
curBook.data = useSubject.subjectList[0]
|
curBook.data = useSubject.subjectList[0]
|
||||||
|
localStorage.setItem('curBook', JSON.stringify(curBook.data))
|
||||||
treeData.value = useSubject.treeData
|
treeData.value = useSubject.treeData
|
||||||
}
|
}
|
||||||
// 设置展开并选中
|
// 设置展开并选中
|
||||||
|
|
Loading…
Reference in New Issue