From cc6448fce32c4ed0e2d28638b7959cde26ddedd5 Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Sun, 08 Oct 2023 15:26:38 +0800 Subject: [PATCH] fix:接口修改 --- src/views/deviceDetail/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/deviceDetail/index.vue b/src/views/deviceDetail/index.vue index d4ec9ff..2032fd4 100644 --- a/src/views/deviceDetail/index.vue +++ b/src/views/deviceDetail/index.vue @@ -705,7 +705,7 @@ if (this.ws) { this.ws.close() } - console.log('socketUrl', socketUrl, this.macNamel) + var that = this // ������������ // var param = this.accountId + '&' + this.orgId + '&' + this.macName @@ -720,7 +720,7 @@ // socketUrl = 'http://192.168.0.11:8081/singleDevice/' + this.macName } // ������http���WS - + console.log('socketUrl', socketUrl, this.macNamel) socketUrl = socketUrl.replace('https', 'ws').replace('http', 'ws') this.ws = new WebSocket(socketUrl) -- Gitblit v1.8.0