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

This commit is contained in:
Tom Gao 2017-08-04 21:24:59 +08:00 committed by 偏右
parent 4bfd076cb8
commit 9e54bebf33
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

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

View File

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