From 4d00eda228ee1d499d74a370199fe343e916c265 Mon Sep 17 00:00:00 2001 From: mizy <1060950782@163.com> Date: Wed, 1 Mar 2023 15:20:45 +0800 Subject: [PATCH 1/2] fix: reduce chart timeline interval --- src/utils/dashboard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dashboard.ts b/src/utils/dashboard.ts index 8c3f0c64..6beb714b 100644 --- a/src/utils/dashboard.ts +++ b/src/utils/dashboard.ts @@ -47,7 +47,7 @@ export const getProperStep = (start: number, end: number) => { } if (hours <= 72) { // <3 day - return 1800; //30min + return 600; //10min } return 3600; }; From 365ca0fd7e5824c66c480c6b02e57446c1ebcf95 Mon Sep 17 00:00:00 2001 From: mizy <1060950782@163.com> Date: Wed, 1 Mar 2023 15:22:39 +0800 Subject: [PATCH 2/2] fix: miss key --- src/pages/ServiceManage/LeaderDistribution/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ServiceManage/LeaderDistribution/index.tsx b/src/pages/ServiceManage/LeaderDistribution/index.tsx index d1ec874a..d3f45405 100644 --- a/src/pages/ServiceManage/LeaderDistribution/index.tsx +++ b/src/pages/ServiceManage/LeaderDistribution/index.tsx @@ -133,7 +133,7 @@ const LeaderDistribution: React.FC = (props: IProps) => { dataIndex: 'distribution', render: distribution => (
- {distribution.split(',').map(each =>
{each.trim()}
)} + {distribution.split(',').map(each =>
{each.trim()}
)}
), },