src/pages/home/topoGraph.vue
@@ -819,6 +819,10 @@ } }, mounted() { // this.$socket.initWebSocket("/device", "") // this.$socket.sendSock(null, (res) => { // console.log(res) // }); this.searchAll() setInterval(() => { this.searchAll() @@ -888,6 +892,7 @@ }, destroyed() { diagram.stop(); // this.$socket.close(); } } </script>