Skip to content

Commit

Permalink
feat: update menuicon
Browse files Browse the repository at this point in the history
  • Loading branch information
LiteSun committed Mar 23, 2021
1 parent eecadb8 commit ff218eb
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 37 deletions.
9 changes: 5 additions & 4 deletions web/src/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import React from 'react';
import { notification } from 'antd';
import type { MenuDataItem } from '@ant-design/pro-layout';
import { InfoCircleOutlined } from '@ant-design/icons';
import { history } from 'umi';
import moment from 'moment';
import YAML from 'yaml';
Expand Down Expand Up @@ -45,17 +46,17 @@ export const getMenuData = (): MenuDataItem[] => {
{
name: 'service',
path: '/service/list',
icon: <IconFont name="iconconsumer" />,
icon: <IconFont name="iconservice" />,
},
{
name: 'consumer',
path: '/consumer/list',
icon: <IconFont name="iconconsumer" />,
icon: <IconFont name="iconconsumer1" />,
},
{
name: 'plugin',
path: '/plugin/list',
icon: <IconFont name="iconconsumer" />,
icon: <IconFont name="iconplugin" />,
},
{
name: 'ssl',
Expand All @@ -65,7 +66,7 @@ export const getMenuData = (): MenuDataItem[] => {
{
name: 'serverinfo',
path: '/serverinfo',
icon: <IconFont name="iconinfocircle" />,
icon: <InfoCircleOutlined />,
},
];
};
Expand Down
Loading

0 comments on commit ff218eb

Please sign in to comment.