1. ztree获得顶层节点

treeObj.getNodesByParam('level',0,null);