lxh 4 months ago
parent
commit
8c44f96a59
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/views/vent/monitorManager/alarmMonitor/warn/ventilateWarn.vue

+ 0 - 1
src/views/vent/monitorManager/alarmMonitor/warn/ventilateWarn.vue

@@ -186,7 +186,6 @@ function getSysWarnList(id, type) {
       maxY.value = max1 >= max2 ? max1 : max2;
       console.log(maxY.value,'000')
       maxY.value = maxY.value.toString().indexOf('.') == -1 ? maxY.value.toString() : maxY.value.toString().substring(0, maxY.value.toString().indexOf('.'))
-      maxY.value = maxY.value.toString().indexOf('.') == -1 ? maxY.value.toString() : maxY.value.toString().substring(0, maxY.value.toString().indexOf('.'))
         if (maxY.value.length < 2) {
           maxY.value = 10
         } else if (maxY.value.length < 3) {