From 840efb0b424099f5feca7b13a6cd9b152527a45d Mon Sep 17 00:00:00 2001 From: zhangjiming Date: Thu, 13 Feb 2025 14:38:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E5=91=BD=E4=BB=A4=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 7 ------- src/services/debug/debugApi.ts | 18 ++++++++++++++++++ src/services/socket.ts | 31 ++++++++++++++++++++++++++++++- src/views/debug/debug.vue | 23 +++++++++++++++++++++-- src/views/home/index.vue | 6 +----- 5 files changed, 70 insertions(+), 15 deletions(-) diff --git a/src/App.vue b/src/App.vue index aa0670a..355b886 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,13 +10,6 @@ exceptionOb.subscribe(exp => { } }); -console.log("ws url: ", sharedWsUrl); -const wsClient = createWebSocket(sharedWsUrl); -wsClient.dataOb.subscribe(data => { - console.log(data); -}); -wsClient.connect(); -