1
0
mirror of synced 2026-03-24 20:18:35 +08:00

feat(dep,editor,data-source,schema): 优化编辑器中依赖收集性能

This commit is contained in:
roymondchen
2024-05-29 19:32:16 +08:00
parent cc8ec39dad
commit ee269917f8
27 changed files with 953 additions and 490 deletions

View File

@@ -154,7 +154,7 @@ export const compliedIteratorItems = (itemData: any, items: MNode[], dsId: strin
}),
);
watcher.collect(items, true);
watcher.collect(items, {}, true);
const { deps } = watcher.getTarget(dsId);
if (!Object.keys(deps).length) {