test tree

This commit is contained in:
2023-05-15 10:13:10 +08:00
parent fc825565d7
commit d7ab3cb486
4 changed files with 4 additions and 4 deletions

View File

@@ -183,7 +183,7 @@ class Tree {
node: TreeData
) {
node.isChecked = checked;
console.log(node)
console.log(node,checkStrictly,186)
if (!checkStrictly) {
if (node.parentNode) {
this.setParentChecked(checked, node.parentNode);