From 9d38f715a1fe582975d04ab7ed3de0da59710213 Mon Sep 17 00:00:00 2001 From: lyc Date: Mon, 12 Aug 2024 09:38:39 +0800 Subject: [PATCH] edit --- src/renderer/src/store/modules/tool.js | 1 + src/renderer/src/views/tool/components/lesson.vue | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/store/modules/tool.js b/src/renderer/src/store/modules/tool.js index 9ec7d55..a07b10e 100644 --- a/src/renderer/src/store/modules/tool.js +++ b/src/renderer/src/store/modules/tool.js @@ -9,6 +9,7 @@ export const useToolState = defineStore('tool', { showBoardAll: false, // 全屏画板-是否显示 isPdfWin: false, // pdf窗口是否打开 isToolWin: false, // 工具窗口是否打开 + curSubjectNode: {} // 当前教材节点 (包含当前教材 单元) }), actions: { } diff --git a/src/renderer/src/views/tool/components/lesson.vue b/src/renderer/src/views/tool/components/lesson.vue index b8c5c71..87f65f1 100644 --- a/src/renderer/src/views/tool/components/lesson.vue +++ b/src/renderer/src/views/tool/components/lesson.vue @@ -126,4 +126,16 @@ onMounted(()=>{ }) - \ No newline at end of file + \ No newline at end of file -- 2.44.0.windows.1