From c1bba6e4431ba9f660af4ee671c60d1c834997ec Mon Sep 17 00:00:00 2001 From: zdg Date: Wed, 27 Nov 2024 13:45:48 +0800 Subject: [PATCH] =?UTF-8?q?pptist=20=E5=9F=BA=E7=A1=80=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/store.js | 4 +- src/renderer/src/AixPPTist/src/App.vue | 47 ++- src/renderer/src/AixPPTist/src/api/index.ts | 171 ++++++++ src/renderer/src/AixPPTist/src/api/store.ts | 19 + src/renderer/src/AixPPTist/src/global.d.ts | 2 +- .../src/AixPPTist/src/mocks/slides.ts | 365 +++++++++--------- .../src/AixPPTist/src/store/slides.ts | 14 +- src/renderer/src/api/education/entpcourse.js | 54 +++ .../src/api/education/entpcoursefile.js | 8 + src/renderer/src/plugins/shareStore.js | 2 +- src/renderer/src/store/modules/tool.js | 2 +- src/renderer/src/views/model/index.vue | 171 +++++++- 12 files changed, 647 insertions(+), 212 deletions(-) create mode 100644 src/renderer/src/AixPPTist/src/api/index.ts create mode 100644 src/renderer/src/AixPPTist/src/api/store.ts create mode 100644 src/renderer/src/api/education/entpcourse.js diff --git a/src/main/store.js b/src/main/store.js index a34bd90..22e61dd 100644 --- a/src/main/store.js +++ b/src/main/store.js @@ -23,7 +23,9 @@ const defaultData = { curNode: null, // 当前选中的节点 defaultExpandedKeys: [], //展开的节点 subjectTree: [] // "树结构" 章节 - } + }, + env: {}, // 不走同步 Pinia - 变量 + curr: {} // 不走同步 Pinia - 当前信息 }, local: { // 本地(永久localStorage) }, diff --git a/src/renderer/src/AixPPTist/src/App.vue b/src/renderer/src/AixPPTist/src/App.vue index 9029052..2d58652 100644 --- a/src/renderer/src/AixPPTist/src/App.vue +++ b/src/renderer/src/AixPPTist/src/App.vue @@ -1,15 +1,20 @@