Browse Source

fix: when menuitem is seleted, but submenu is not seleted (#7042)

pull/7088/head
Tom Gao 7 years ago
committed by 偏右
parent
commit
9e54bebf33
  1. 1
      .gitignore
  2. 2
      components/menu/MenuItem.tsx

1
.gitignore

@ -36,3 +36,4 @@ components/**/*.js
components/**/*.jsx
!components/**/__tests__/*.js
!components/**/__tests__/*.js.snap
/.history

2
components/menu/MenuItem.tsx

@ -19,4 +19,6 @@ MenuItem.contextTypes = {
inlineCollapsed: PropTypes.bool,
};
MenuItem.isMenuItem = 1;
export default MenuItem;

Loading…
Cancel
Save