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