guoxiaohuan 5 năm trước cách đây
mục cha
commit
eeaaf67d90
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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),