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

初始设置某个节点selected为true。当设置树为Radio时,选择其他节点该状态不会改变。 #162

Open
Stallezhou opened this issue May 21, 2019 · 2 comments

Comments

@Stallezhou
Copy link

No description provided.

@firebear-ssl
Copy link

firebear-ssl commented Jul 24, 2019

在选择其他节点的时候,可以自己用代码清理一下。

let selecNodes = this.$refs.tree.getSelectedNodes(true); selecNodes.forEach((cnode) => { if(crtNode.subId != cnode.subId){ cnode.selected = false; } });

@Stallezhou
Copy link
Author

非常感谢您提供的参考,我的问题这边已经解决了。非常感谢。

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

2 participants