Go to file
sladro 3c2aab553b feat: 实现层级分析动态树形展开和子组件加载功能
主要功能:
• 实现层级分析初始请求使用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>
2025-09-21 13:15:09 +08:00
.claude feat: 实现薄壳化分析结果页面完整功能系统 2025-09-17 09:50:02 +08:00
.vscode initial commit 2025-09-15 16:17:05 +08:00
config fix: 修复build后刷新页面空白问题 2025-09-21 11:07:31 +08:00
docs Fix CAD configuration and restore to 6 software 2025-09-16 10:52:20 +08:00
public Add CSS theme system 2025-09-15 17:38:13 +08:00
src feat: 实现层级分析动态树形展开和子组件加载功能 2025-09-21 13:15:09 +08:00
.editorconfig initial commit 2025-09-15 16:17:05 +08:00
.gitattributes initial commit 2025-09-15 16:17:05 +08:00
.gitignore initial commit 2025-09-15 16:17:05 +08:00
CLAUDE.md feat: 实现几何复杂度分析完整功能 2025-09-18 11:43:31 +08:00
index.html Add CSS theme system 2025-09-15 17:38:13 +08:00
jsconfig.json initial commit 2025-09-15 16:17:05 +08:00
package-lock.json feat: 实现Creo连接接口MVP版本,集成统一API封装和通知系统 2025-09-16 15:03:41 +08:00
package.json feat: 实现Creo连接接口MVP版本,集成统一API封装和通知系统 2025-09-16 15:03:41 +08:00

.

This template should help get you started developing with Vue 3 in Vite.

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