East il y a 3 ans
Parent
commit
13d7d38463
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  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() {