zy 8 mēneši atpakaļ
vecāks
revīzija
3e8abca85e

+ 1 - 3
cpp-ui/src/views/largeScreen/components/left-bottom.vue

@@ -320,9 +320,7 @@ export default {
         series:series
       }
       this.tickChart.setOption(this.option, true)
-      window.addEventListener("resize", function () {
-        _this.tickChart.resize();
-      });
+      window.addEventListener("resize", this.chartsResize);
     },
     chartsResize(){
       if(this.tickChart !== null && this.tickChart !== undefined){

+ 1 - 0
cpp-ui/src/views/regulation/dqRegulationRecord/index.vue

@@ -195,6 +195,7 @@ export default {
       modId: '',//备用id
       hoursArray: [],
       chartOption: {
+        animation:false,
         backgroundColor: 'transparent',
         tooltip: {
           trigger: 'axis',