Browse Source

去注释

es6
windy 5 years ago
parent
commit
28918238d1
  1. 4
      src/base/tree/ztree/asynctree.js
  2. 4
      src/base/tree/ztree/treerender.service.js

4
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,

4
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;
}

Loading…
Cancel
Save