zhuhao_dev #260
|
@ -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