提交 37c45065 编写于 作者: F fanchenxuan

async bug

Signed-off-by: Nfanchenxuan <fanchenxuan@huawei.com>
上级 cdca5eed
......@@ -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.
先完成此消息的编辑!
想要评论请 注册