注释跳转到权限页面

This commit is contained in:
2025-07-18 09:06:39 +08:00
parent 8fdbff8ab2
commit 19f0697c66
+12 -12
View File
@@ -120,18 +120,18 @@ onMounted(async ()=>{
})
}
}else{
let _recordPerm = permission.judgeIosPermission('record')
if(!_recordPerm){
common.show('提示信息', '当前页面需要使用的录音权限,是否前往开启?',true, '取消','确定').then((res) => {
if(res) {
// 去开启权限
permission.gotoAppPermissionSetting()
}else{
// 取消
common.navigateBack()
}
})
}
// let _recordPerm = permission.judgeIosPermission('record')
// if(!_recordPerm){
// common.show('提示信息', '当前页面需要使用的录音权限,是否前往开启?',true, '取消','确定').then((res) => {
// if(res) {
// // 去开启权限
// permission.gotoAppPermissionSetting()
// }else{
// // 取消
// common.navigateBack()
// }
// })
// }
}
// #endif
})