15eea2559874df56b3e7e06b3dba0c9723c188b9
stopTimer() 暂停成功后未更新 sessionState,导致 startTimer() 中 sessionState === "PAUSED" 条件为 false,continueSession API 被跳过。 修复:暂停成功后将 sessionState 同步为 "PAUSED"。 同时优化 endTimer(),当后端返回非默认消息时用 ElMessage.warning 展示。
LPT-FE
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
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
Description
Languages
Vue
61.8%
TypeScript
37.1%
CSS
0.7%
Dockerfile
0.2%
HTML
0.2%