From 28918238d13ea81c77fb2240adbd656beb09b161 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 2 Mar 2020 16:47:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/tree/ztree/asynctree.js | 4 ++-- src/base/tree/ztree/treerender.service.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/base/tree/ztree/asynctree.js b/src/base/tree/ztree/asynctree.js index 55f1ce0a7..b492ddbcd 100644 --- a/src/base/tree/ztree/asynctree.js +++ b/src/base/tree/ztree/asynctree.js @@ -154,13 +154,13 @@ BI.AsyncTree = BI.inherit(BI.TreeView, { } else { self.service.removeNodeList(treeNode.tId); } - console.log("add nodes"); + // console.log("add nodes"); self.nodes.addNodes(treeNode, nodes); } function getNodes(times) { - console.log(times); + // console.log(times); var parentValues = treeNode.parentValues || self._getParentValues(treeNode); var op = BI.extend({}, o.paras, { id: treeNode.id, diff --git a/src/base/tree/ztree/treerender.service.js b/src/base/tree/ztree/treerender.service.js index 30cadf73c..dac04f4b3 100644 --- a/src/base/tree/ztree/treerender.service.js +++ b/src/base/tree/ztree/treerender.service.js @@ -70,7 +70,7 @@ this.nodeLists[tId].locked = false; } if(!this.hasBinded) { - console.log("绑定事件"); + // console.log("绑定事件"); this.hasBinded = true; $("#" + this.id).parent().on("scroll", BI.debounce(function () { self.refreshAllNodes(); @@ -108,7 +108,7 @@ self.removeNodeList(tId); }); this.nodeLists = {}; - console.log("解绑事件"); + // console.log("解绑事件"); $("#" + this.id).parent().off("scroll"); this.hasBinded = false; }