提交 3a9d10e1 编写于 作者: F fanchenxuan

示例代码修改

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