From 60e31f4b435a533881737cc849804d5e325cd596 Mon Sep 17 00:00:00 2001 From: lyc Date: Mon, 23 Sep 2024 09:58:47 +0800 Subject: [PATCH] edit --- src/renderer/src/components/choose-textbook/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/renderer/src/components/choose-textbook/index.vue b/src/renderer/src/components/choose-textbook/index.vue index f701bda..a79d68b 100644 --- a/src/renderer/src/components/choose-textbook/index.vue +++ b/src/renderer/src/components/choose-textbook/index.vue @@ -235,6 +235,7 @@ onMounted( async () => { } else{ curBook.data = useSubject.subjectList[0] + localStorage.setItem('curBook', JSON.stringify(curBook.data)) treeData.value = useSubject.treeData } // 设置展开并选中