When ztree get CheckBox selected node, select the parent does not get the parent node


= {setting.check.chkboxType "the Y": "S", "N": "S"};
the Y refers to the impact when checking the checkbox of the parent node or a child node of the generated
N refers to cancel checkbox when the parent node or a child node of the impact
s means child nodes, p refers to a parent node

 

// ztree get selected nodes

var checkedNodes = zTreeObj.getCheckedNodes();

Guess you like

Origin www.cnblogs.com/codechange/p/11234858.html