|
@@ -1,6 +1,6 @@
|
|
|
import React, { Component } from 'react';
|
|
|
import { Link } from 'react-router-dom';
|
|
|
-import { Layout, Menu, Icon, Dropdown, Avatar, Breadcrumb, Tooltip, LocaleProvider } from 'antd';
|
|
|
+import { Layout, Menu, Icon, Dropdown, Avatar, Breadcrumb, LocaleProvider } from 'antd';
|
|
|
import zhCN from 'antd/lib/locale-provider/zh_CN';
|
|
|
import '../style/adminLeft.less';
|
|
|
import { User } from '../stores/user';
|
|
@@ -155,12 +155,10 @@ 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>
|
|
@@ -174,13 +172,13 @@ export default class extends Component {
|
|
|
onClick={() => User.switchCollapse()}
|
|
|
/>
|
|
|
<div className="f-r">
|
|
|
- <Tooltip placement="bottom" title="使用文档">
|
|
|
+ {/* <Tooltip placement="bottom" title="使用文档">
|
|
|
<Icon className="icon" type="question-circle" />
|
|
|
</Tooltip>
|
|
|
|
|
|
<Tooltip placement="bottom" title="消息">
|
|
|
<Icon className="icon" type="bell" />
|
|
|
- </Tooltip>
|
|
|
+ </Tooltip> */}
|
|
|
{project.otherLink && project.otherLink.length > 0 && (
|
|
|
<Dropdown overlay={this.getOtherLink()} placement="bottomCenter">
|
|
|
<Icon className="icon" type="link" />
|