From 2800fa4f32f3900509cb4d6eefaf2bfaf54efdd7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 21 Apr 2025 18:29:09 +0800
Subject: [PATCH] fix: 天气显示

---
 src/hooks/controlDrone/useMqtt.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/hooks/controlDrone/useMqtt.js b/src/hooks/controlDrone/useMqtt.js
index caaff48..8ac4679 100644
--- a/src/hooks/controlDrone/useMqtt.js
+++ b/src/hooks/controlDrone/useMqtt.js
@@ -67,6 +67,7 @@
       // 2.发心跳
       publishDrcPing(deviceTopicInfo.sn)
     } else {
+      console.log('清除pingInterval')
       clearInterval(state.heartState.get(deviceTopicInfo.sn)?.pingInterval)
       state.heartState.delete(deviceTopicInfo.sn)
       heartBeatSeq.value = 0

--
Gitblit v1.9.3