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