test tree

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

View File

@ -229,6 +229,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);

View File

@ -17826,6 +17826,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);

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);

File diff suppressed because one or more lines are too long