From 226b7fa261fb5516aed7bf806f1efaf7e9515a88 Mon Sep 17 00:00:00 2001 From: gitcc Date: Wed, 13 Dec 2023 12:04:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E4=BF=AE=E6=94=B9=E4=BA=86?= =?UTF-8?q?=E4=B8=80=E4=BA=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 4 ++-- src/components/Index.vue | 2 +- vite.config.js | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/App.vue b/src/App.vue index 68f3688..fd1ceef 100644 --- a/src/App.vue +++ b/src/App.vue @@ -72,8 +72,8 @@ export default { onMounted(() => { if (localGet('token')) { - state.client = mqtt.connect('ws://www.shikicc.com:52190/mqtt', { - port: 52190, + state.client = mqtt.connect('ws://192.168.2.6:8083/mqtt', { + port: 8083, clientId: new Date(), username: 'hsgy', password: "hsgy123", diff --git a/src/components/Index.vue b/src/components/Index.vue index 6ab96fc..4b3c491 100644 --- a/src/components/Index.vue +++ b/src/components/Index.vue @@ -1,7 +1,7 @@