Skip to content

Commit

Permalink
fix(menu): 修复activeKey显示异常
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaMaid committed Aug 6, 2018
1 parent 0c1f829 commit cd4437d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class Menu extends Component<IMenuProps, IMenuState> {
React.Children.map(childrens, (child: ReactElement<any>) => {
return React.cloneElement(child, {
deep: 1,
activeKeyR,
activeKey: activeKeyR,
openKeys,
onSelect: this.onSelect,
onOpenChange: this.onOpenChange,
Expand Down

0 comments on commit cd4437d

Please sign in to comment.