Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在调用updateNode更新子节点checked属性时,根节点不会渲染半选状态 #442

Open
418545106 opened this issue Feb 13, 2020 · 0 comments

Comments

@418545106
Copy link

在使用updateNode初始化树的勾选状态时子节点没有问题正常勾选,但是根节点并不会渲染版勾选状态

代码:
var node = zTree.getNodeByParam("id", 122);
node.checked = true;
zTree.updateNode(node, true);

结果:
image
image

理想结果:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant