Commit 9c49d4b8 authored by hzq's avatar hzq Committed by 陈帅

Update SiderMenu.js

parent 1a46c6e9
...@@ -132,8 +132,9 @@ export default class SiderMenu extends PureComponent { ...@@ -132,8 +132,9 @@ export default class SiderMenu extends PureComponent {
> >
{childrenItems} {childrenItems}
</SubMenu> </SubMenu>
) );
} }
return null;
} else { } else {
return ( return (
<Menu.Item key={item.path}>{this.getMenuItemPath(item)}</Menu.Item> <Menu.Item key={item.path}>{this.getMenuItemPath(item)}</Menu.Item>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment