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

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