Преглед изворни кода

feat(dashboard): dashboard

lind пре 3 година
родитељ
комит
3d30e8099d
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      src/pages/rule-engine/DashBoard/index.tsx

+ 1 - 2
src/pages/rule-engine/DashBoard/index.tsx

@@ -123,8 +123,7 @@ const Dashboard = observer(() => {
         series: [
           {
             name: '告警数',
-            data: fifteenData.map((item, index) => index * 6),
-
+            data: fifteenData.map((item) => item.value),
             type: 'bar',
             itemStyle: {
               color: '#2F54EB',