From 280d9d2ee8179da84f2dbd183846b7e944963c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=8B=A4=E6=B0=91?= Date: Tue, 2 Sep 2025 17:43:51 +0800 Subject: [PATCH] =?UTF-8?q?docs(basic):=20=E6=9B=B4=E6=96=B0=20README=20?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Alert 组件的使用说明中添加了额外的注意事项- 优化了文档的格式和结构,提高了可读性 --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f0f7405..db0a286 100644 --- a/README.md +++ b/README.md @@ -165,19 +165,21 @@ ToolsHelper.showAlertDialog({ }) ``` +> > 如果需要自定义弹窗UI,可以参考`ToolsHelper`中以下部分代码 > -> ``` -> @Builder -> function customDialogBuilder(option: ListOptions, dialogTag: string) { -> //...... -> } -> ``` + + ``` + @Builder + function customDialogBuilder(option: ListOptions, dialogTag: string) { + //...... + } + ``` + > > `注意,传入参数(options: AlertBean)是固定的` -> -> - +> +> ### 1.4.[ValidatorHelper](./src/main/ets/utils/ValidatorHelper.ets) @@ -617,8 +619,10 @@ build() { ``` ### 4.3.[SwipeView](src/main/ets/view/SwipeView.ets) + > 左滑删除 -> +> + ```tsx SwipeView({ onItemClick: () => {