37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
# Project Doing
|
|
|
|
## 2025-12-18
|
|
|
|
### [Task 1] Global Message Component, API Encapsulation, and Login/Logout Integration
|
|
- **Time**: 2025-12-18
|
|
- **Goal**: Implement global message, encapsulate axios, and integrate login.
|
|
- **Scope**:
|
|
- `src/components/ui/WMessage.vue` (Review/Update)
|
|
- `package.json` (Add axios)
|
|
- `src/service/request/index.ts` (Create)
|
|
- `src/service/api/auth.ts` (Create)
|
|
- `src/stores/user.ts` (Update)
|
|
- `src/components/TheNavigation.vue` (Update)
|
|
|
|
### [Task 2] Score API Encapsulation and Business Integration
|
|
- **Time**: 2025-12-18
|
|
- **Goal**: Encapsulate Score API and integrate into components.
|
|
- **Scope**:
|
|
- `src/service/api/score.ts` (Create)
|
|
- `src/stores/score.ts` (Create)
|
|
- `src/components/TheNavigation.vue` (Update)
|
|
- `src/components/ScoreForm.vue` (Update)
|
|
- `project_task.md` (Update)
|
|
|
|
### [Task 2] Verification and Documentation
|
|
- **Time**: 2025-12-18
|
|
- **Goal**: Verify score integration and update documentation.
|
|
- **Scope**:
|
|
- `project_task.md` (Update status)
|
|
|
|
### [Task 2] Fix Score Refresh Issue
|
|
- **Time**: 2025-12-18
|
|
- **Goal**: Ensure score data is fetched when ScoreForm mounts if store is empty.
|
|
- **Scope**:
|
|
- `src/components/ScoreForm.vue` (Update onMounted)
|