瀏覽代碼

mod:去掉 蓝牙 错误 提醒

panqiuyao 7 月之前
父節點
當前提交
cdc4aef92f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/src/stores/modules/check.ts

+ 1 - 1
frontend/src/stores/modules/check.ts

@@ -76,7 +76,7 @@ export const checkInfo = defineStore('checkInfo', () => {
             return '拍照机初始化失败,请重新监测!';
         }
         for (const device of Object.values(devices)) {
-            if (device.status === -1) {
+            if (device.status === -1  && device.msg_type !== 'connect_bluetooth') {
                 clearInterval(CKTimerInterval)
                 checkTime.value = 0
                 mcu.isInitSend = false