[移除] 删除多余的console,该console影响开发正常的console内容

This commit is contained in:
鄢鹏权 2022-02-10 10:38:46 +00:00 committed by Gitee
parent 5f27fa6695
commit 7457d9b654
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -135,7 +135,7 @@ class Tree {
setChildrenChecked(checked: boolean, nodes: TreeData[]) { setChildrenChecked(checked: boolean, nodes: TreeData[]) {
const len = nodes.length; const len = nodes.length;
for (let i = 0; i < len; i++) { for (let i = 0; i < len; i++) {
console.log(nodes[i], checked); //console.log(nodes[i], checked);
nodes[i].isChecked.value = checked; nodes[i].isChecked.value = checked;
nodes[i].children && nodes[i].children &&
nodes[i].children.length > 0 && nodes[i].children.length > 0 &&
@ -168,7 +168,7 @@ class Tree {
if (node.children) { if (node.children) {
this.setChildrenChecked(checked, node.children); this.setChildrenChecked(checked, node.children);
} }
console.log(this.getData()); //console.log(this.getData());
} }
getData() { getData() {