核心功能: - 扩展creoApi服务:添加getCurrentModel()和openModelFile()方法 - 重构CAD Store:简化为纯状态管理,删除所有假数据 - 实现CadSidebar交互:组件直接调用API,状态由Store管理 - 修复apiClient通知:确保失败时也显示ElNotification 架构改进: - Store职责分离:只管理连接状态,不执行API调用 - 一次一连接:连接新CAD时自动断开其他连接 - 通知统一化:operationContext自动生成具体操作通知 - 错误直接暴露:不使用try-catch,错误由apiClient统一处理 文档更新: - 更新API接入流程:添加实战经验和避坑指南 - 记录职责分离原则和关键实现要点 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .vscode | ||
| config | ||
| docs | ||
| public | ||
| src | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| CLAUDE.md | ||
| index.html | ||
| jsconfig.json | ||
| package-lock.json | ||
| package.json | ||
.
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Lint with ESLint
npm run lint