From e30abf7f8383b86fe77d4075da1b1893247b0f7e Mon Sep 17 00:00:00 2001 From: wangqiao Date: Sat, 30 Aug 2025 11:19:46 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4MQTT=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E6=9D=A1=E4=BB=B6=E4=B8=AD=E7=9A=84=E7=94=A8=E6=88=B7?= =?UTF-8?q?ID=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.vue b/app.vue index a7b032d..f772773 100644 --- a/app.vue +++ b/app.vue @@ -13,7 +13,7 @@ const userStore = useUserStore() onMounted(() => { - if (!userStore.mqttClient && userStore.userInfoRes.id) { + if (!userStore.mqttClient) { // 判断建立连接没 刷新会走这儿 userStore.connectMqtt() }