-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
关于BasicTree的事件参数暴露属性不全的建议 #315
Comments
提供下你的代码,这样看不出来 |
不知道你为什么要从这里取,因为项目是用slot来渲染,所以不能直接暴露出title,下次提交我会暴露一个node节点来获取 |
截图中的代码
a-tree的@select事件第二个对象参数selectedNodes, node都能取到title和其他属性值,至于为什么从这里取,因为懒吧 |
请问,你怎么解决了,现在最新代码,还是无法直接获取 title 和其他字段 |
我用的a-tree,我也没看最新的代码 |
const selectTree = (keys, { node }) => { |
BasicTree 并没有看到有返回 node ,你究竟是(绑定/监听)哪个魔术方法获取了node ?? |
如图
The text was updated successfully, but these errors were encountered: