From 7457d9b6541d9755bccbaaba9b4f4d220a42f89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=84=A2=E9=B9=8F=E6=9D=83?= <490523604@qq.com> Date: Thu, 10 Feb 2022 10:38:46 +0000 Subject: [PATCH] =?UTF-8?q?[=E7=A7=BB=E9=99=A4]=20=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=A4=9A=E4=BD=99=E7=9A=84console=EF=BC=8C=E8=AF=A5console?= =?UTF-8?q?=E5=BD=B1=E5=93=8D=E5=BC=80=E5=8F=91=E6=AD=A3=E5=B8=B8=E7=9A=84?= =?UTF-8?q?console=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/tree/tree.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/tree/tree.ts b/src/component/tree/tree.ts index ef746c1b..3722c732 100644 --- a/src/component/tree/tree.ts +++ b/src/component/tree/tree.ts @@ -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() {