From c6ed8635c7f48486796e92573bdbde68e701aac1 Mon Sep 17 00:00:00 2001 From: liub Date: Tue, 21 Oct 2025 12:13:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BD=95=E9=9F=B3=E7=9A=84?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 7 +++++-- pages/common/addBLE/addEquip.vue | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index dba9858..092a023 100644 --- a/manifest.json +++ b/manifest.json @@ -22,7 +22,8 @@ "Bluetooth" : {}, "Camera" : {}, "Geolocation" : {}, - "Maps" : {} + "Maps" : {}, + "Record" : {} }, /* 应用发布信息 */ "distribute" : { @@ -66,7 +67,9 @@ "NSBluetoothPeripheralUsageDescription" : "App需要您的同意访问蓝牙访问权限,用于设备通信与反向控制", "NSBluetoothAlwaysUsageDescription" : "App需要您的同意访问蓝牙访问权限,用于设备通信与反向控制", "NSPhotoLibraryUsageDescription" : "App需要您的同意访问相册,用于上传头像,设备开机画面", - "NSPhotoLibraryAddUsageDescription" : "App需要您的同意访问相册,用于上传头像,设备开机画面" + "NSPhotoLibraryAddUsageDescription" : "App需要您的同意访问相册,用于上传头像,设备开机画面", + "NSCameraUsageDescription" : "App需要您的同意访问相机,用于上传头像,设备开机画面", + "NSMicrophoneUsageDescription" : "App需要您的同意访问麦克风,用于上传语音包" }, "idfa" : false }, diff --git a/pages/common/addBLE/addEquip.vue b/pages/common/addBLE/addEquip.vue index 0786bb7..a075d59 100644 --- a/pages/common/addBLE/addEquip.vue +++ b/pages/common/addBLE/addEquip.vue @@ -377,7 +377,7 @@ } Promise.allSettled(promis).finally(() => { - ble.StopSearch().then(res => { + ble.StopSearch().finally(res => { // console.log("停止搜索成功"); these.EquipMents = []; these.PairEquip = [];