src/pages/home/topoGraph.vue @@ -18,6 +18,9 @@ mounted() { diagram = gridCircuitDiagram(this.$refs.static, this.$refs.flush); }, destroyed() { diagram.stop(); }, } </script>