瀏覽代碼

2021-12-21

East 3 年之前
父節點
當前提交
13d7d38463
共有 1 個文件被更改,包括 6 次插入0 次删除
  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() {