test tree

This commit is contained in:
2023-05-15 10:23:50 +08:00
parent d7ab3cb486
commit 93447cf66d
4 changed files with 4 additions and 1 deletions

View File

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