var treeObj=$.fn.zTree.getZTreeObj('org');var nodes = treeObj.getNodes();for (var i = nodes.length-1; i >= 0; i--) { treeObj.removeNode(nodes[i]);}
本文共 197 字,大约阅读时间需要 1 分钟。
var treeObj=$.fn.zTree.getZTreeObj('org');var nodes = treeObj.getNodes();for (var i = nodes.length-1; i >= 0; i--) { treeObj.removeNode(nodes[i]);}
转载于:https://my.oschina.net/jacobking/blog/101499