@ -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,
@ -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;