|
@@ -43,7 +43,7 @@ export default class extends Component {
|
|
|
render() {
|
|
|
const { config } = this.props;
|
|
|
return (
|
|
|
- <div className="admin" style={{ height: window.document.documentElement.clientHeight }}>
|
|
|
+ <div className="admin-left" style={{ height: window.document.documentElement.clientHeight }}>
|
|
|
{config.module ? this.renderLayoutView() : this.renderContentView(true)}
|
|
|
</div>
|
|
|
);
|
|
@@ -154,10 +154,12 @@ export default class extends Component {
|
|
|
);
|
|
|
})}
|
|
|
</SubMenu>
|
|
|
- ) : (<Menu.Item key={group.key} path={group.path}>
|
|
|
- <Icon type={group.icon} />
|
|
|
- <span>{group.name}</span>
|
|
|
- </Menu.Item>);
|
|
|
+ ) : (
|
|
|
+ <Menu.Item key={group.key} path={group.path}>
|
|
|
+ <Icon type={group.icon} />
|
|
|
+ <span>{group.name}</span>
|
|
|
+ </Menu.Item>
|
|
|
+ );
|
|
|
return view;
|
|
|
})}
|
|
|
</Menu>
|