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

!11537 【仅md格式】示例代码修改

Merge pull request !11537 from fanchenxuan/master_
......@@ -379,7 +379,7 @@ let permissionFlag = 1;
try {
atManager.getPermissionFlags(tokenID, "ohos.permission.GRANT_SENSITIVE_PERMISSIONS").then((data) => {
console.log(`getPermissionFlags success, data->${JSON.stringify(data)}`);
}).catch((err) = > {
}).catch((err) => {
console.log(`getPermissionFlags fail, err->${JSON.stringify(err)}`);
});
} catch(err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册