var treeObj = $.fn.zTree.getZTreeObj("treeDemo");//树对象
var node = treeObj.getNodeByParam("id",${id});
node.nocheck=true;
treeObj.updateNode(node);//一定要更新树。否则没效果
时间: 2024-11-06 01:56:58
var treeObj = $.fn.zTree.getZTreeObj("treeDemo");//树对象
var node = treeObj.getNodeByParam("id",${id});
node.nocheck=true;
treeObj.updateNode(node);//一定要更新树。否则没效果