test tree

This commit is contained in:
2023-05-15 09:44:23 +08:00
parent e2cdf6eb6b
commit 5400ed7cdc
4 changed files with 65 additions and 63 deletions

View File

@@ -95,7 +95,7 @@ class Tree {
checkStrictly,
replaceFields: { children, id, title },
} = this.config;
console.log(origin,"origin")
const nodeKey = Reflect.get(origin, id);
const nodeTitle = Reflect.get(origin, title);
const nodeChildren = Reflect.get(origin, children);