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

perf: style

parent f6d0675b
...@@ -12,7 +12,7 @@ import { ...@@ -12,7 +12,7 @@ import {
Spin, Spin,
} from 'antd'; } from 'antd';
import { SwapRightOutlined } from '@ant-design/icons'; 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 { DataSet } from '@antv/data-set';
import moment from 'moment'; import moment from 'moment';
import { post, PUBLISH_SERVICE } from '@/services/index'; import { post, PUBLISH_SERVICE } from '@/services/index';
...@@ -293,14 +293,15 @@ const ServiceLog = () => { ...@@ -293,14 +293,15 @@ const ServiceLog = () => {
data={visitedCount} data={visitedCount}
interactions={['active-region']} interactions={['active-region']}
padding="auto" padding="auto"
renderer="svg"
scale={{ scale={{
Count: { alias: '计数' }, Count: { alias: '计数' },
StartTime: { alias: '访问量统计' }, StartTime: { alias: '访问量统计' },
}} }}
> >
<Axis name="StartTime" label="null" title={{ offset: 20 }} /> <Axis name="StartTime" label="" title={{ offset: 20 }} />
<Axis name="Count" title /> <Axis name="Count" title />
<Interval position="StartTime*Count" /> <Line shape="smooth" position="StartTime*Count" />
<Tooltip shared /> <Tooltip shared />
</Chart> </Chart>
</Col> </Col>
......
...@@ -16,7 +16,7 @@ import PageContainer from '@/components/BasePageContainer'; ...@@ -16,7 +16,7 @@ import PageContainer from '@/components/BasePageContainer';
import { import {
DoubleLeftOutlined, DoubleLeftOutlined,
DoubleRightOutlined, DoubleRightOutlined,
TeamOutlined, BarsOutlined,
UserOutlined, UserOutlined,
} from '@ant-design/icons'; } from '@ant-design/icons';
import { import {
...@@ -214,7 +214,7 @@ const SiteManage = () => { ...@@ -214,7 +214,7 @@ const SiteManage = () => {
itemRole.title = itemRole.visibleTitle || ''; itemRole.title = itemRole.visibleTitle || '';
itemRole.key = itemRole.visibleTitle + itemRole.visibleValue || ''; itemRole.key = itemRole.visibleTitle + itemRole.visibleValue || '';
itemRole.groupflag = itemRole.visibleTitle; itemRole.groupflag = itemRole.visibleTitle;
itemRole.icon = <TeamOutlined />; itemRole.icon = <BarsOutlined />;
itemRole.roleList.map(i => { itemRole.roleList.map(i => {
i.title = i.roleName; i.title = i.roleName;
i.key = i.roleID; 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