mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
Fix footer nav
This commit is contained in:
parent
ca171f2a20
commit
b39c5cc569
@ -170,7 +170,7 @@ export default class MainContent extends React.Component {
|
||||
}
|
||||
|
||||
flattenMenu(menu) {
|
||||
if (menu && menu.type && !menu.type.isSubMenu && !menu.type.isMenuItemGroup) {
|
||||
if (menu && menu.type && menu.type.isMenuItem) {
|
||||
return menu;
|
||||
}
|
||||
if (Array.isArray(menu)) {
|
||||
|
Loading…
Reference in New Issue
Block a user