East před 3 roky
rodič
revize
13d7d38463
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. 6 0
      src/views/BioSafety/chart/ChartElectro.vue

+ 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() {