注释跳转到权限页面
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user