From 14a4742dae2d7f8b73f20bccbb7ff4542548c5a7 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 27 Feb 2020 20:40:47 +0800 Subject: [PATCH] update --- src/base/tree/ztree/asynctree.js | 2 +- src/base/tree/ztree/treerender.service.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/tree/ztree/asynctree.js b/src/base/tree/ztree/asynctree.js index d19f9edf3..55f1ce0a7 100644 --- a/src/base/tree/ztree/asynctree.js +++ b/src/base/tree/ztree/asynctree.js @@ -150,7 +150,7 @@ BI.AsyncTree = BI.inherit(BI.TreeView, { function callback(nodes, hasNext) { if (hasNext) { - self.service.pushNodeList(treeNode.tId, self.nodes, getNodes); + self.service.pushNodeList(treeNode.tId, getNodes); } else { self.service.removeNodeList(treeNode.tId); } diff --git a/src/base/tree/ztree/treerender.service.js b/src/base/tree/ztree/treerender.service.js index ac35dcef9..30cadf73c 100644 --- a/src/base/tree/ztree/treerender.service.js +++ b/src/base/tree/ztree/treerender.service.js @@ -54,7 +54,7 @@ return nodeList.length === 0 || nodeList.css("display") === "none"; }, - pushNodeList: function (tId, nodes, populate) { + pushNodeList: function (tId, populate) { var self = this; if (!BI.has(this.nodeLists, tId)) { this.nodeLists[tId] = {