修改设备电量低,重复弹框提示两个弹框

This commit is contained in:
fengerli
2025-11-21 11:24:04 +08:00
parent 7b2b7ea34c
commit a7f09dfbc2

View File

@ -483,11 +483,11 @@ class BleReceive {
}); });
if (!recCnt) { if (!recCnt) {
if (batteryLevel <= 20) { if (batteryLevel <= 20) {
// 会弹出两个框,暂且注释掉这段代码
uni.showModal({ // uni.showModal({
content: "设备电量低", // content: "设备电量低",
title: "提示" // title: "提示"
}); // });
} }
} }