<div class="treecontentpane"> <ul id="busTree" class="ztree"> </ul> </div>
//初始化树
zTree = $.fn.zTree.init($("#busTree"), setting);
//获取树
var treeObj = $.fn.zTree.getZTreeObj("busTree");
//获取整个json节点
var nodes = zTree.getNodes();
treeObj.showNodes(nodes);
https://blog.csdn.net/qq3892997/article/details/80306551