feat(dep,editor,data-source,schema): 优化编辑器中依赖收集性能
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user