Browse Source

Update index.zh-CN.md (#7755)

pull/7770/head
Amorites 7 years ago
committed by 偏右
parent
commit
e17c8e093e
  1. 2
      components/menu/index.zh-CN.md

2
components/menu/index.zh-CN.md

@ -36,7 +36,7 @@ subtitle: 导航菜单
| openKeys | 当前展开的 SubMenu 菜单项 key 数组 | string[] | |
| defaultOpenKeys | 初始展开的 SubMenu 菜单项 key 数组 | | |
| onOpenChange | SubMenu 展开/关闭的回调 | function(openKeys: string[]) | noop |
| onSelect | 被选中时调 | function({ item, key, selectedKeys }) | 无 |
| onSelect | 被选中时调用 | function({ item, key, selectedKeys }) | 无   |
| onDeselect | 取消选中时调用,仅在 multiple 生效 | function({ item, key, selectedKeys }) | - |
| onClick | 点击 MenuItem 调用此函数 | function({ item, key, keyPath }) | - |
| style | 根节点样式 | object | |

Loading…
Cancel
Save