Commit 37fe1294 authored by 陈前坚's avatar 陈前坚

perf: style

parent f6d0675b
......@@ -12,7 +12,7 @@ import {
Spin,
} from 'antd';
import { SwapRightOutlined } from '@ant-design/icons';
import { Chart, Interval, Tooltip, Axis } from 'bizcharts';
import { Chart, Interval, Line, Tooltip, Axis } from 'bizcharts';
// import { DataSet } from '@antv/data-set';
import moment from 'moment';
import { post, PUBLISH_SERVICE } from '@/services/index';
......@@ -293,14 +293,15 @@ const ServiceLog = () => {
data={visitedCount}
interactions={['active-region']}
padding="auto"
renderer="svg"
scale={{
Count: { alias: '计数' },
StartTime: { alias: '访问量统计' },
}}
>
<Axis name="StartTime" label="null" title={{ offset: 20 }} />
<Axis name="StartTime" label="" title={{ offset: 20 }} />
<Axis name="Count" title />
<Interval position="StartTime*Count" />
<Line shape="smooth" position="StartTime*Count" />
<Tooltip shared />
</Chart>
</Col>
......
......@@ -16,7 +16,7 @@ import PageContainer from '@/components/BasePageContainer';
import {
DoubleLeftOutlined,
DoubleRightOutlined,
TeamOutlined,
BarsOutlined,
UserOutlined,
} from '@ant-design/icons';
import {
......@@ -214,7 +214,7 @@ const SiteManage = () => {
itemRole.title = itemRole.visibleTitle || '';
itemRole.key = itemRole.visibleTitle + itemRole.visibleValue || '';
itemRole.groupflag = itemRole.visibleTitle;
itemRole.icon = <TeamOutlined />;
itemRole.icon = <BarsOutlined />;
itemRole.roleList.map(i => {
i.title = i.roleName;
i.key = i.roleID;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment