chore: change menu icon in site

This commit is contained in:
afc163 2022-05-07 17:39:37 +08:00
parent 1719748a29
commit 9a59018580
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import * as React from 'react';
import classNames from 'classnames';
import { FormattedMessage } from 'react-intl';
import { Link } from 'bisheng/router';
import { UnorderedListOutlined } from '@ant-design/icons';
import { MenuOutlined } from '@ant-design/icons';
import { Menu } from 'antd';
import { getEcosystemGroup } from './More';
import * as utils from '../../utils';
@ -63,7 +63,7 @@ export default ({
additional = additionalItems;
} else if (responsive === 'crowded') {
additional = (
<Menu.SubMenu key="additional" title={<UnorderedListOutlined />}>
<Menu.SubMenu key="additional" title={<MenuOutlined />}>
{additionalItems}
</Menu.SubMenu>
);

View File

@ -1,7 +1,7 @@
import React from 'react';
import { FormattedMessage, injectIntl } from 'react-intl';
import classNames from 'classnames';
import { UnorderedListOutlined } from '@ant-design/icons';
import { MenuOutlined } from '@ant-design/icons';
import { Select, Row, Col, Popover, Button } from 'antd';
import canUseDom from 'rc-util/lib/Dom/canUseDom';
import * as utils from '../../utils';
@ -341,7 +341,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
arrowPointAtCenter
onVisibleChange={this.onMenuVisibleChange}
>
<UnorderedListOutlined className="nav-phone-icon" onClick={this.handleShowMenu} />
<MenuOutlined className="nav-phone-icon" onClick={this.handleShowMenu} />
</Popover>
)}
<Row style={{ flexFlow: 'nowrap', height: 64 }}>