Explorar o código

feat(dashboard): dashboard

lind %!s(int64=4) %!d(string=hai) anos
pai
achega
3d30e8099d
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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: [
         series: [
           {
           {
             name: '告警数',
             name: '告警数',
-            data: fifteenData.map((item, index) => index * 6),
-
+            data: fifteenData.map((item) => item.value),
             type: 'bar',
             type: 'bar',
             itemStyle: {
             itemStyle: {
               color: '#2F54EB',
               color: '#2F54EB',