This commit is contained in:
Iruka 2025-01-17 13:04:53 +08:00
parent 598eb3bb32
commit 449f98c4df

View File

@ -36,7 +36,12 @@ export function VerifyPermissions(key, content) {
// if (!isSuc) {
// return false
// }
// #ifdef H5
resolve(true)
// #endif
// #ifndef H5
requestPermissions({
title: permission[key].title, // 申请权限时弹出框标题
content: content, // 申请权限时弹出框内容
@ -46,5 +51,6 @@ export function VerifyPermissions(key, content) {
resolve(true)
}
})
// #endif
})
}