From cc3a8f6647edc1ddb2e9fecdee0e089a5696cde8 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 15 五月 2024 16:47:25 +0800
Subject: [PATCH] #

---
 src/pages/right/components/task-charts.jsx |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/pages/right/components/task-charts.jsx b/src/pages/right/components/task-charts.jsx
index 91639b7..88ea37a 100644
--- a/src/pages/right/components/task-charts.jsx
+++ b/src/pages/right/components/task-charts.jsx
@@ -18,9 +18,8 @@
       getTaskCharts().then(res => {
         setSeriesData(res.data);
         setWeek(res.week);
-        console.log(res);
       })
-    }, 1000);
+    }, 60000);
 
     return () => {
       clearInterval(timer);
@@ -98,7 +97,7 @@
     tooltip,
     legend,
     grid: {
-      top: '15%',
+      top: '20%',
       left: '3%',
       right: '4%',
       bottom: '5%',
@@ -148,7 +147,7 @@
 
   return (
     <div>
-      <ReactECharts style={{ height: '360px' }} option={option} />
+      <ReactECharts style={{ height: '320px' }} option={option} />
     </div>
   );
 };

--
Gitblit v1.9.1