ztree.expandNode(ztree.getNodeByParam("id",treeId,null));//展开指定节点 ztree.selectNode(ztree.getNodeByParam("id",treeId,null));//选中指定节点 ztree.setting.callback.onClick(null, ztree.setting.treeId, ztree.getNodeByParam("id",treeId,null));//触发函数
原文地址:https://www.cnblogs.com/yifanSJ/p/9117406.html
时间: 2024-11-02 18:09:25