Ver código fonte

Merge branch 'master' of http://39.106.8.246:3003/sagacloud/sagacloud-cwc-pages

zhulizhen1111 4 anos atrás
pai
commit
3f4ec90756
1 arquivos alterados com 2 adições e 3 exclusões
  1. 2 3
      src/components/strategyLine.vue

+ 2 - 3
src/components/strategyLine.vue

@@ -118,9 +118,9 @@ export default {
       } else if (minG <= 5) {
         this.dataY1Min = String(minS) + "0";
       }
-      if (maxG > 5) {
+      if (maxG >= 5) {
         this.dataY1Max = String(maxS + 1) + "0";
-      } else if (maxG <= 5) {
+      } else if (maxG < 5) {
         this.dataY1Max = String(maxS) + "5";
       }
       this.drawLeft();
@@ -136,7 +136,6 @@ export default {
               val2 = "",
               val3 = "";
             data.forEach(i => {
-              console.log(i);
               if (i.seriesName == "室外温度") {
                 val1 = `<br/>室外温度:${i.value ? i.value.toFixed(1) : ""}`;
               }