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 = [];