主要功能: • 实现层级分析初始请求使用target_level=0获取顶层模型 • 新增getChildrenComponents API方法支持动态加载子组件 • 重构层级分析结果页面使用响应式数组直接管理组件数据 • 实现点击展开按钮动态加载并插入子组件到正确位置 • 修复子组件层级计算逻辑,确保父组件level+1 • 修复组件选择使用路径作为唯一标识,避免多选问题 • 优化界面显示,移除文件大小列,调整总组件数显示 • 添加componentChildren端点配置支持子组件查询 技术改进: • 从computed改为ref数组提升响应性能 • 使用component.path作为唯一标识解决ID重复问题 • 简化树形视图逻辑,移除复杂的展开状态管理 • 优化API参数处理,支持可选componentId参数 🤖 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