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

!8411 翻译完成:7958 update docs

Merge pull request !8411 from wusongqing/TR7958
# Page Routing # Page Routing
The **Router** module provides APIs to access pages through URIs.
> **NOTE** > **NOTE**
> >
> - The APIs of this module are no longer maintained since API version 8. You are advised to use [`@ohos.router`](js-apis-router.md) instead. > - The APIs of this module are no longer maintained since API version 8. You are advised to use [`@ohos.router`](js-apis-router.md) instead.
...@@ -372,12 +374,12 @@ Defines the **EnableAlertBeforeBackPage** parameters. ...@@ -372,12 +374,12 @@ Defines the **EnableAlertBeforeBackPage** parameters.
**System capability**: SystemCapability.ArkUI.ArkUI.Full **System capability**: SystemCapability.ArkUI.ArkUI.Full
| Name | Type | Mandatory | Description | | Name | Type | Mandatory| Description |
| -------- | ------------------------ | ---- | ------------------------- | | -------- | ------------------------ | ---- | -------------------------------------------------- |
| message | string | Yes | Content displayed in the confirm dialog box. | | message | string | Yes | Content displayed in the confirm dialog box. |
| success | (errMsg: string) => void | No | Called when a dialog box is displayed. **errMsg** indicates the returned information. | | success | (errMsg: string) => void | No | Called when the **OK** button in the confirm dialog box is clicked. **errMsg** indicates the returned information.|
| fail | (errMsg: string) => void | No | Called when the API fails to be called. **errMsg** indicates the returned information.| | cancel | (errMsg: string) => void | No | Called when the **Cancel** button in the confirm dialog box is clicked. **errMsg** indicates the returned information.|
| complete | () => void | No | Called when the API call is complete. | | complete | () => void | No | Called when the API call is complete. |
## DisableAlertBeforeBackPageOptions<sup>6+</sup> ## DisableAlertBeforeBackPageOptions<sup>6+</sup>
...@@ -385,11 +387,11 @@ Define the **DisableAlertBeforeBackPage** parameters. ...@@ -385,11 +387,11 @@ Define the **DisableAlertBeforeBackPage** parameters.
**System capability**: SystemCapability.ArkUI.ArkUI.Full **System capability**: SystemCapability.ArkUI.ArkUI.Full
| Name | Type | Mandatory | Description | | Name | Type | Mandatory| Description |
| -------- | ------------------------ | ---- | ------------------------- | | -------- | ------------------------ | ---- | -------------------------------------------------- |
| success | (errMsg: string) => void | No | Called when a dialog box is displayed. **errMsg** indicates the returned information. | | success | (errMsg: string) => void | No | Called when the dialog box is closed. **errMsg** indicates the returned information.|
| fail | (errMsg: string) => void | No | Called when the API fails to be called. **errMsg** indicates the returned information.| | cancel | (errMsg: string) => void | No | Called when the dialog box fails to be closed. **errMsg** indicates the returned information.|
| complete | () => void | No | Called when the API call is complete. | | complete | () => void | No | Called when the API call is complete. |
## ParamsInterface ## ParamsInterface
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册