zTree 点击文字 勾选check

callback: {
onClick:function(event, treeId, treeNode){
console.info("onClick")
var treeObj = $.fn.zTree.getZTreeObj(treeId);
treeObj.checkNode(treeNode,null,false)

}

猜你喜欢

转载自www.cnblogs.com/pengchenggang/p/10106466.html