mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
fix: when menuitem is seleted, but submenu is not seleted (#7042)
This commit is contained in:
parent
4bfd076cb8
commit
9e54bebf33
1
.gitignore
vendored
1
.gitignore
vendored
@ -36,3 +36,4 @@ components/**/*.js
|
||||
components/**/*.jsx
|
||||
!components/**/__tests__/*.js
|
||||
!components/**/__tests__/*.js.snap
|
||||
/.history
|
||||
|
@ -19,4 +19,6 @@ MenuItem.contextTypes = {
|
||||
inlineCollapsed: PropTypes.bool,
|
||||
};
|
||||
|
||||
MenuItem.isMenuItem = 1;
|
||||
|
||||
export default MenuItem;
|
||||
|
Loading…
Reference in New Issue
Block a user