Browse Source

修改细节

LiuShu_0203 5 months ago
parent
commit
4f9ff97f89
2 changed files with 2 additions and 2 deletions
  1. 1 1
      index.html
  2. 1 1
      src/App.vue

+ 1 - 1
index.html

@@ -4,7 +4,7 @@
         <meta charset="UTF-8" />
         <link rel="icon" href="/favicon.ico" />
         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-        <title>AIChat</title>
+        <title>解冻库</title>
     </head>
     <body>
         <!-- 令 id="app" 便于vue进行挂载 -->

+ 1 - 1
src/App.vue

@@ -288,7 +288,7 @@ const handleMqttMessage = (topic: string, message: any) => {
         const data = JSON.parse(message.toString());
         coalgasData.value = data.top;
         Datalist.value = data.buttom;
-        // console.log(topic, Datalist.value);
+        console.log(topic, Datalist.value, message.toString());
     } catch (error) {
         console.error('解析消息失败:', error);
     }