12 Commits

Author SHA1 Message Date
roymondchen
025cca365c perf(dep): 依赖收集改为单次遍历批量处理多 target
将 collectItems/removeTargetsDep 改为整棵树只遍历一次、在每个属性上检查所有
target,把结构遍历开销从 ×targets 降到 ×1,收集结果保持一致。

同时修正 dataSourceMethodDeps 字段命名并补充到 MApp schema。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-29 17:55:13 +08:00
roymondchen
1664559d8f refactor(dep): 优化性能 2026-03-19 16:02:41 +08:00
roymondchen
2f4a7a33b8 feat(core,data-source,dep,editor,schema): 新增组件禁用代码块/数据源的配置开关 2025-07-03 14:10:20 +08:00
roymondchen
3f7d03959c feat(dep,schema): 添加组件没用数据源或者代码块的配置key 2025-07-02 16:42:55 +08:00
roymondchen
0c207c7b83 fix(dep): 依赖收集不能过滤id/name 2025-03-10 11:32:27 +08:00
roymondchen
b215062177 feat(dep): 性能优化,收集时节点配置中id与name不需要做判断 2025-01-14 16:22:04 +08:00
parisma
cd191f6815 feat(editor): 复制组件时收集依赖性能优化改造 2024-05-30 07:44:27 +00:00
roymondchen
ee269917f8 feat(dep,editor,data-source,schema): 优化编辑器中依赖收集性能 2024-05-29 19:32:16 +08:00
parisma
d981014160 feat(editor,dep): watcher新增方法:清除指定类型的依赖 2023-12-21 07:38:58 +00:00
parisma
456692ff8a fix(editor): 有复制的内容时展示粘贴菜单 2023-12-11 11:57:46 +00:00
roymondchen
70f2b11df5 fix(dep): get-tagert需要指定type 2023-12-08 19:47:12 +08:00
roymondchen
94641bad76 refactor: 依赖收集相关代码抽出独立成库 2023-11-16 19:34:50 +08:00