修改设备电量低,重复弹框提示两个弹框
This commit is contained in:
@ -483,11 +483,11 @@ class BleReceive {
|
|||||||
});
|
});
|
||||||
if (!recCnt) {
|
if (!recCnt) {
|
||||||
if (batteryLevel <= 20) {
|
if (batteryLevel <= 20) {
|
||||||
|
// 会弹出两个框,暂且注释掉这段代码
|
||||||
uni.showModal({
|
// uni.showModal({
|
||||||
content: "设备电量低",
|
// content: "设备电量低",
|
||||||
title: "提示"
|
// title: "提示"
|
||||||
});
|
// });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user