ztree 使用积累
ok --> !! tree node 刷新
--》code
selectedNodes[0].name = Name;
treeObj.updateNode(selectedNodes[0]);
ok --》 +tree parent node unselected
--》code
callback: {
beforeClick:beforeClickTree,
onClick: onClickTree
}
function beforeClickTree(treeId, treeNode, clickFlag) {
if(treeNode.type == "player")
return true;
else
return false;
};