diff --git a/src/common/menu.js b/src/common/menu.js index 75f47dcf891756525a3343e55ecbea409cb22b14..21b58d7ae9ffe8b77e3b53d58e9db6eb56322918 100644 --- a/src/common/menu.js +++ b/src/common/menu.js @@ -113,11 +113,6 @@ const menuData = [{ name: '注册结果', path: 'register-result', }], -}, { - name: '使用文档', - icon: 'book', - path: 'http://pro.ant.design/docs/getting-started', - target: '_blank', }]; function formatter(data, parentPath = '', parentAuthority) { diff --git a/src/components/GlobalHeader/index.js b/src/components/GlobalHeader/index.js index f43be9d2401de686e7013533b5df7bab17c5f6ca..608e4223a8b34de8142efc97f4802e6b6b9bbb98 100644 --- a/src/components/GlobalHeader/index.js +++ b/src/components/GlobalHeader/index.js @@ -1,5 +1,5 @@ import React, { PureComponent } from 'react'; -import { Menu, Icon, Spin, Tag, Dropdown, Avatar, Divider } from 'antd'; +import { Menu, Icon, Spin, Tag, Dropdown, Avatar, Divider, Tooltip } from 'antd'; import moment from 'moment'; import groupBy from 'lodash/groupBy'; import Debounce from 'lodash-decorators/debounce'; @@ -94,6 +94,15 @@ export default class GlobalHeader extends PureComponent { console.log('enter', value); // eslint-disable-line }} /> + + + + + i { font-size: 16px; vertical-align: middle; + color: @text-color; } &:hover, &:global(.ant-popover-open) {