diff --git a/stores/bluetooth.js b/stores/bluetooth.js index c97d811..e28f2de 100644 --- a/stores/bluetooth.js +++ b/stores/bluetooth.js @@ -618,6 +618,7 @@ export const useBluetoothStore = defineStore('ble', { } uni.createBLEConnection({ deviceId: that.currentLockInfo.deviceId, + timeout: 10000, success(res) { console.log('连接成功', res) // 获取设备服务