From 47712be42fddef946500aab7665e2fcb5428429c Mon Sep 17 00:00:00 2001 From: makangcheng Date: Fri, 16 Jun 2023 06:57:25 +0000 Subject: [PATCH] fixed 77e695e from https://gitee.com/makangcheng/docs/pulls/20200 fixed da1f8fb from https://gitee.com/makangcheng/docs/pulls/19819 fix customDialog docs Signed-off-by: makangcheng Change-Id: I2cb30a2624e4cac092af6ddb911bbda347cfd508 --- .../reference/arkui-ts/ts-methods-custom-dialog-box.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 1f791b2caf..196a55738c 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 @@ -43,7 +43,7 @@ dialogController : CustomDialogController = new CustomDialogController(value:{bu open(): void -显示自定义弹窗内容,若已显示,则不生效。 +显示自定义弹窗内容,允许多次使用,但如果弹框为SubWindow模式,则该弹框不允许再弹出SubWindow弹框。 ### close @@ -62,6 +62,7 @@ struct CustomDialogExample { @Link textValue: string @Link inputValue: string controller: CustomDialogController + // 若尝试在CustomDialog中传入多个其他的Controller,以实现在CustomDialog中打开另一个或另一些CustomDialog,那么此处需要将指向自己的controller放在最后 cancel: () => void confirm: () => void @@ -87,6 +88,7 @@ struct CustomDialogExample { }).backgroundColor(0xffffff).fontColor(Color.Red) }.margin({ bottom: 10 }) } + // dialog默认的borderRadius为24vp,如果需要使用border属性,请和borderRadius属性一起使用。 } } -- GitLab