Browse Source

修改时间slice

chenbaoxin 3 months ago
parent
commit
150290de6d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/HealthStatusAnalysis/mock.vue

+ 1 - 1
src/views/HealthStatusAnalysis/mock.vue

@@ -952,7 +952,7 @@ const setLineparames = (
   seriesParamsData.value = selectData.map((its) => {
   seriesParamsData.value = selectData.map((its) => {
     return {
     return {
       ...its,
       ...its,
-      data: its.data.slice(-30),
+      data: its.data,
     };
     };
   });
   });
   // 图例
   // 图例