guoxiaohuan %!s(int64=5) %!d(string=hai) anos
pai
achega
eeaaf67d90
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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),