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

@ -624,6 +624,9 @@
this.$watch("formData.sta_PowerPercent", (newVal, oldVal) => {
console.log("电量发生变化");
if(!newVal){
return;
}
if (newVal <= 20 && (this.formData.sta_system === 2 || this.formData.sta_system === 0)) {
//电量在20%及以及下,且是未充电状态提醒
showPop({