未验证 提交 4c9c2048 编写于 作者: O openharmony_ci 提交者: Gitee

!2472 async bug

Merge pull request !2472 from fanchenxuan/master
......@@ -24,6 +24,7 @@
import abilityAccessCtrl from '@ohos.abilityAccessCtrl'
import bundle from '@ohos.bundle'
async requestPermission() {
var permissionNameUser = "ohos.permission.ALPHA";
var bundleFlag = 0;
var tokenID = undefined;
......@@ -39,6 +40,7 @@
} else {
// 申请动态授权,使用接口:requestPermissionsFromUser
}
}
```
> **说明:**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册