You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
导航菜单选中事件可否返回完整的当前对象 或者 把 key 跟 title 一起回调回来
Whether the navigation menu selected event can return the complete current object or call back the key and title together
Jun 29, 2021
What problem does this feature solve?
https://2x.antdv.com/components/menu-cn
选中菜单的时候 需要 title值 ,目前只返回了 key , 而不想去遍历原始数据
What does the proposed API look like?
select(item,key,selectedKeys,title)
或者
select(item,{key,selectedKeys,title})
或者把填充进入的原始数据返回来
//比如填充进去的参数是 key title icon pid url
选中方法回调给 当前的完整对象
select({key,title,icon,pid,url});
The text was updated successfully, but these errors were encountered: