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

Merge pull request !25 from 鄢鹏权/N/A
This commit is contained in:
就眠儀式 2022-02-10 13:09:47 +00:00 committed by Gitee
commit fa935b3494
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[]) {
const len = nodes.length;
for (let i = 0; i < len; i++) {
console.log(nodes[i], checked);
//console.log(nodes[i], checked);
nodes[i].isChecked.value = checked;
nodes[i].children &&
nodes[i].children.length > 0 &&
@ -168,7 +168,7 @@ class Tree {
if (node.children) {
this.setChildrenChecked(checked, node.children);
}
console.log(this.getData());
//console.log(this.getData());
}
getData() {