!25 [移除] 删除多余的console,该console影响开发正常的console内容
Merge pull request !25 from 鄢鹏权/N/A
This commit is contained in:
commit
fa935b3494
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user