1. 解决重复进入搜索页面,上次设备未清除bug

This commit is contained in:
范鹏 2024-08-30 15:06:44 +08:00
parent bbbbc9ecdd
commit f40d0477d9

View File

@ -379,6 +379,7 @@ export const useBluetoothStore = defineStore('ble', {
this.getBluetoothStatus()
return
}
this.deviceList = []
uni.startBluetoothDevicesDiscovery({
success: function (res) {
setTimeout(() => {