From 46bd03640d075498e0dd47542bc512617001cc89 Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Thu, 23 Mar 2023 15:33:48 +0800 Subject: [PATCH] fixed 34d9ecb from https://gitee.com/houhaoyu/docs/pulls/16424 houhaoyu@huawei.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改customdialogcontroller文档 Signed-off-by: houhaoyu Change-Id: Ia72c0d96dc9b08ff9e426c65cf66500705bd3047 --- .../reference/arkui-ts/ts-methods-custom-dialog-box.md | 1 + 1 file changed, 1 insertion(+) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md b/zh-cn/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md index 604ebcbaa2..b6233c2c67 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-methods-custom-dialog-box.md @@ -36,6 +36,7 @@ CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, aut ```ts dialogController : CustomDialogController = new CustomDialogController(value:{builder: CustomDialog, cancel?: () => void, autoCancel?: boolean}) ``` +**说明**:CustomDialogController仅在作为@CustomDialog和@Component struct的成员变量,且在@Component struct内部定义时赋值才有效,具体用法可看下方示例。 ### open() open(): void -- GitLab