test tree

This commit is contained in:
Theluyuan 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) { setCheckedKeys(checked, checkStrictly, node) {
node.isChecked = checked; node.isChecked = checked;
console.log(node); console.log(node, checkStrictly, 186);
if (!checkStrictly) { if (!checkStrictly) {
if (node.parentNode) { if (node.parentNode) {
this.setParentChecked(checked, node.parentNode); this.setParentChecked(checked, node.parentNode);

View File

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

View File

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

File diff suppressed because one or more lines are too long