From 62f8fd9591f5e9446da5a50a6a7ee1f2587a94b8 Mon Sep 17 00:00:00 2001 From: huzeqi Date: Mon, 8 Aug 2022 19:21:17 +0800 Subject: [PATCH] modify alert interface description Signed-off-by: huzeqi Change-Id: Id46fd06536ae4492f4e8c642d136f8b83e5a41b0 --- api/@system.router.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/@system.router.d.ts b/api/@system.router.d.ts index 0867df975c..44f7c104a7 100644 --- a/api/@system.router.d.ts +++ b/api/@system.router.d.ts @@ -110,21 +110,21 @@ export interface EnableAlertBeforeBackPageOptions { message: string; /** - * Called when the dialog box is displayed. + * Called when the user selects the confirm button in dialog box. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 6 */ success?: (errMsg: string) => void; /** - * Called when the operation is cancelled. + * Called when the user selects the cancel button in dialog box. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 6 */ cancel?: (errMsg: string) => void; /** - * Called when the dialog box is closed. + * Called when the execution is completed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 6 */ @@ -139,21 +139,21 @@ export interface EnableAlertBeforeBackPageOptions { */ export interface DisableAlertBeforeBackPageOptions { /** - * Called when the dialog box is displayed. + * Called when the operation is cancelled successfully. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 6 */ success?: (errMsg: string) => void; /** - * Called when the operation is cancelled. + * Called when the operation is cancelled unsuccessfully. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 6 */ cancel?: (errMsg: string) => void; /** - * Called when the dialog box is closed. + * Called when the execution is completed. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 6 */ -- Gitee