cat-shark ea9b7ec569 feat(会话):跨页面自动恢复 + 阻止多任务同时进行
后端:
- StudySessionsServiceImpl.getActiveSession(excludeTaskNum):
  查询 ONGOING/PAUSED 状态的活跃会话,可排除指定任务
- Controller 新增 GET /study-sessions/active?excludeTaskNum=

前端:
- router beforeEach 守卫:读取 localStorage 中 activeSession,
  非 start-task 页面时自动重定向恢复
- Study.vue 开始任务按钮:调用 getActiveSession() 检测是否
  有其他任务正在进行,提示用户前往继续
- StartTask.vue loadTaskSession 成功后将活跃会话写入
  localStorage(taskNum/sessionNum/taskName)
- endSession 成功时清除 localStorage 中的 activeSession
- 路由参数 ?resume=true 时页面顶部显示恢复提示已恢复上次
2026-07-05 11:15:22 +08:00
2025-06-02 18:50:12 +08:00
2026-04-12 15:42:36 +08:00
2025-06-02 18:50:12 +08:00
2025-06-02 18:50:12 +08:00
2025-06-02 18:50:12 +08:00
2025-06-02 18:50:12 +08:00
2025-06-02 18:50:12 +08:00
2025-06-02 18:50:12 +08:00

LPT-FE

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build
S
Description
No description provided
Readme 6.2 MiB
Languages
Vue 61.8%
TypeScript 37.1%
CSS 0.7%
Dockerfile 0.2%
HTML 0.2%