From 32c7aa1a7b2dfe396a77b5dcf78e81c694395c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E9=B9=8F?= Date: Sat, 7 Sep 2024 17:28:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E8=BF=9E=E6=8E=A5=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- stores/bluetooth.js | 1 + 1 file changed, 1 insertion(+) 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) // 获取设备服务