diff --git a/pages/API/create-request-permission-listener/create-request-permission-listener.uvue b/pages/API/create-request-permission-listener/create-request-permission-listener.uvue index 0e6c058d4fc35d562a33b642058a9b1e264415ee..f192ff2cecd880a8674d52011951309179bb44dc 100644 --- a/pages/API/create-request-permission-listener/create-request-permission-listener.uvue +++ b/pages/API/create-request-permission-listener/create-request-permission-listener.uvue @@ -37,6 +37,8 @@ watchPermissionRRequest() { this.permissionListener = uni.createRequestPermissionListener() this.permissionListener!.onConfirm((_) => { + // TODO 目前onConfirm监听实现的在时间上不够精确,暂时需要延迟弹框,后续修复 + // TODO 这里的弹框仅为演示,实际开发中监听权限申请的代码应该在app.uvue中,弹框应全局处理,可参考https://gitcode.net/dcloud/uni-api/-/tree/master/uni_modules/uni-prompt/utssdk/app-android 代码自行封装一个uts的全局弹框 this.timeoutId = setTimeout(() => { this.isPermissionAlertShow = true }, 100) diff --git a/pages/API/rewarded-video-ad/rewarded-video-ad.uvue b/pages/API/rewarded-video-ad/rewarded-video-ad.uvue index 56d77bce0887133eb3b1292a83749ec82b668611..120267f2d806daba6d4907e22f10d5e71b274615 100644 --- a/pages/API/rewarded-video-ad/rewarded-video-ad.uvue +++ b/pages/API/rewarded-video-ad/rewarded-video-ad.uvue @@ -1,12 +1,6 @@