From 7b5c024717256c4e189bd02084be8ab2b8a6d689 Mon Sep 17 00:00:00 2001
From: whychdw <49690745@qq.com>
Date: 星期四, 07 一月 2021 11:25:44 +0800
Subject: [PATCH] 修复切换GPU过高bug

---
 src/pages/home/topoGraph.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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

--
Gitblit v1.9.1