yml
|
f410be3797
|
代码格式化: prettier --write 统一代码风格
39 个文件按 .prettierrc.json (printWidth 100 / no semi / singleQuote) 统一格式, 纯空白与换行调整, 无逻辑变更。为接入代码门禁做准备, 让 npm run check (format:check + lint:strict + typecheck) 干净通过。
|
2026-06-14 16:24:01 +08:00 |
|
yml2213
|
88b1df64e7
|
加固后台管理安全
|
2026-06-11 07:23:00 +08:00 |
|
yml2213
|
70a35204b3
|
统一前端错误读取和调试日志
|
2026-06-10 15:52:49 +08:00 |
|
yml
|
60324765c5
|
统一前端共享工具入口
|
2026-06-09 20:50:57 +08:00 |
|
yml2213
|
500f511185
|
增加前端格式检查配置
|
2026-06-08 06:40:33 +08:00 |
|
yml2213
|
0b9b0b5ea7
|
优化工作-1
|
2026-06-05 07:41:52 +08:00 |
|
yml2213
|
956c2eca91
|
chore: 修复大量导入路径错误
- 迁移 files API 到 shared/api/
- 修复所有 features 中的 @/api/ 导入
- 修复所有 features 中的 @/composables/ 导入
- 更新 useOrderDetail 中的 uploadFile 调用
类型错误:272 → 190 → 135
|
2026-06-04 09:30:13 +08:00 |
|
 yml2213andClaude Opus 4.7
|
b5903a169f
|
feat: Features架构迁移 - P0和P1部分完成
## 完成的工作
### P0: 基础设施准备
- 创建 features/ 和 shared/ 目录结构
- 迁移共享资源:API基础设施、工具函数、类型定义
- 迁移通用composables:useMoney, useSmsCountdown, usePricingCalculator
- 迁移全局样式文件
- 建立模块化导出系统
### P1.1: 钱包模块 (wallet)
- 迁移 API: wallet.ts
- 迁移 Views: WalletView.vue
- 新增 Composable: useWallet.ts (封装钱包状态管理)
- 更新导入路径到 shared/
### P1.2: 聊天模块 (chats)
- 迁移 API: chats.ts
- 迁移 Views: ChatView, MessagesView (桌面+移动)
- 迁移 Composables: useChatSSE.ts
- 迁移 Components: ChatAttachmentImage.vue
- 更新导入路径到 shared/
## 技术改进
- 修复 shared/composables 导出问题 (default → 命名导出)
- 修复 shared/api/client.ts 类型导入路径
- 建立清晰的模块边界和导出规范
## 文档
- 添加完整的迁移计划文档
- 添加进度跟踪文档
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-06-04 08:38:36 +08:00 |
|