From 8e64a50140c4a612d3afdf2d6b4f558019ea7c7f Mon Sep 17 00:00:00 2001 From: liujun Date: Thu, 28 Mar 2024 10:30:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E5=85=AC=E5=8F=B8=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E5=AE=9A=E4=BD=8D=E6=97=A0=E6=95=B0=E6=8D=AEbug=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/map/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/map/index.vue b/src/views/map/index.vue index 34b149c..e2a2f3c 100644 --- a/src/views/map/index.vue +++ b/src/views/map/index.vue @@ -2499,7 +2499,6 @@ export default { const { protocol, host, port, endpoint, ...options } = this.connection const connectUrl = `${protocol}://${host}:${port}${endpoint}` this.client = mqtt.connect(connectUrl, options) - if (this.client.on) { this.client.on('connect', () => { this.connecting = true