guoxiaohuan 5 년 전
부모
커밋
eeaaf67d90
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/evaluate/evStackedLine.vue

+ 2 - 2
src/views/evaluate/evStackedLine.vue

@@ -51,8 +51,8 @@ export default {
                     arr1.push(i.data)
                 })
                 let arr2 = [].concat(...arr1)
-                this.dataY1Min = this.getMin(arr)
-                this.dataY1Max = this.getMax(arr)
+                this.dataY1Min = this.getMin(arr2)
+                this.dataY1Max = this.getMax(arr2)
                 let minG = parseInt(this.dataY1Min % 10),
                     minS = parseInt((this.dataY1Min % 100) / 10),
                     maxG = parseInt(this.dataY1Max % 10),