1
0
forked from dyf/APP

修复蓝牙配对时,连接成功马上断开,再次连接提示正在连接中的问题

This commit is contained in:
liub
2026-05-20 14:18:28 +08:00
parent 958aa1374a
commit 6ec6003d3c
3 changed files with 13 additions and 9 deletions

View File

@ -310,15 +310,12 @@
if (these.Status.isPageHidden) {
return;
}
// console.log("处理蓝牙断开连接");
these.refreshLinked();
setTimeout(() => {
hideLoading(these);
console.log("处理蓝牙断开连接");
if(res.deviceId==this.item.deviceId){
these.item.deviceId = null;
these.refreshLinked();
clearInterval(these.Status.intval);
}, 1500);
}
}, pagePath);