修复安卓设备回退toast无法显示bug
This commit is contained in:
parent
053d14db47
commit
1cc09adb59
@ -622,9 +622,9 @@ export const useBluetoothStore = defineStore('ble', {
|
|||||||
timer2 = setTimeout(() => {
|
timer2 = setTimeout(() => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
uni.stopBluetoothDevicesDiscovery()
|
uni.stopBluetoothDevicesDiscovery()
|
||||||
clearInterval(timer)
|
clearInterval(timer1)
|
||||||
}, 7000)
|
}, 10000)
|
||||||
timer = setInterval(() => {
|
timer1 = setInterval(() => {
|
||||||
uni.getBluetoothDevices({
|
uni.getBluetoothDevices({
|
||||||
success(res) {
|
success(res) {
|
||||||
const deviceList = res.devices
|
const deviceList = res.devices
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user