#
luxiaotao1123
2024-05-15 cc3a8f6647edc1ddb2e9fecdee0e089a5696cde8
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>
  );
};