CanadaMes-ui/src/views/Electrical/Parameter.vue @@ -167,6 +167,9 @@ socket.onerror = function () { console.log("websocket发生了错误"); }; this.$router.afterEach(function(){ socket.close(); }) } }, send () {