whyczyk
2021-09-07 69f949b70f1cd2c80a9738afe602905b18e72e0b
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>