East 3 rokov pred
rodič
commit
13d7d38463

+ 6 - 0
src/views/BioSafety/chart/ChartElectro.vue

@@ -32,6 +32,12 @@ export default {
         this.init();
       }
     },
+    total(newVal) {
+      if (newVal) {
+        this.myChart.clear();
+        this.init();
+      }
+    },
   },
   methods: {
     init() {