Commit Graph

4 Commits

Author SHA1 Message Date
张翔 f590c40c21 refactor(frontend): update test config and optimize components
- Update vitest config to use new test directory structure
- Optimize Dashboard, RoleManagement, UserManagement components
- Improve signature utility with better error handling
- Enhance component error handling and user feedback
2026-04-23 16:35:34 +08:00
张翔 a2bb6be0b9 refactor(user): 调整用户 ID 类型和添加 phone 字段
- 前端用户 ID 类型从 number 改为 string,与后端保持一致
- 后端用户服务添加 phone 字段处理
- 更新权限相关代码以适配新的 ID 类型
- E2E 测试中添加 phone 字段
2026-04-18 13:05:20 +08:00
张翔 958fc73c15 fix: 修复前端 TypeScript 类型错误并移除 docker-compose.yml 中的 version 属性
- 移除 docker-compose.yml 中的 version 属性(已过时)
- 修复 RouteLocationNormalized 类型导入错误
- 修复 AxiosRequestConfig 类型错误,使用 InternalAxiosRequestConfig
- 添加 Vite 环境变量类型定义
- 扩展 axios 类型定义,正确处理响应拦截器返回的 data
- 修复 signature.ts 中未使用的 body 参数 bug
- 移除 UserManagement.vue 中未使用的 StatusHelper 导入
2026-04-17 19:05:55 +08:00
张翔 45bb89fc7f refactor(frontend): 重命名前端项目为 gym-manage-web 2026-04-17 18:37:45 +08:00