未验证 提交 53b537a2 编写于 作者: K king_he 提交者: Gitee

update en/application-dev/reference/apis/js-apis-abilityAccessCtrl.md.

Signed-off-by: Nking_he <6384784@qq.com>
上级 6be9faa5
...@@ -53,7 +53,7 @@ Checks whether an application has been granted the specified permission. This AP ...@@ -53,7 +53,7 @@ Checks whether an application has been granted the specified permission. This AP
| Type | Description | | Type | Description |
| :------------ | :---------------------------------- | | :------------ | :---------------------------------- |
| Promise&lt;GrantStatus&gt; | Promise instance used to return the result. | | Promise&lt;GrantStatus&gt; | Promise used to return the result. |
**Example** **Example**
...@@ -88,7 +88,7 @@ Grants a user granted permission to an application. This API uses a promise to r ...@@ -88,7 +88,7 @@ Grants a user granted permission to an application. This API uses a promise to r
| Type | Description | | Type | Description |
| :------------ | :---------------------------------- | | :------------ | :---------------------------------- |
| Promise&lt;number&gt; | Promise instance used to return the result. | | Promise&lt;number&gt; | Promise used to return the result. |
**Example** **Example**
...@@ -155,7 +155,7 @@ Revokes a user granted permission given to an application. This API uses a promi ...@@ -155,7 +155,7 @@ Revokes a user granted permission given to an application. This API uses a promi
| Type | Description | | Type | Description |
| :------------ | :---------------------------------- | | :------------ | :---------------------------------- |
| Promise&lt;number&gt; | Promise instance used to return the result. | | Promise&lt;number&gt; | Promise used to return the result. |
**Example** **Example**
...@@ -219,7 +219,7 @@ Obtains the flags of the specified permission of a given application. This API u ...@@ -219,7 +219,7 @@ Obtains the flags of the specified permission of a given application. This API u
| Type | Description | | Type | Description |
| :------------ | :---------------------------------- | | :------------ | :---------------------------------- |
| Promise&lt;number&gt; | Promise instance used to return the result. | | Promise&lt;number&gt; | Promise used to return the result. |
**Example** **Example**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册