docs(basic): 更新 README 文档

- 在 Alert 组件的使用说明中添加了额外的注意事项- 优化了文档的格式和结构,提高了可读性
这个提交包含在:
徐勤民 2025-09-02 17:43:51 +08:00
父节点 90f8b9931b
当前提交 280d9d2ee8

查看文件

@ -165,19 +165,21 @@ ToolsHelper.showAlertDialog({
})
```
>
> 如果需要自定义弹窗UI,可以参考`ToolsHelper`中以下部分代码
>
> ```
> @Builder
> function customDialogBuilder<T>(option: ListOptions<T>, dialogTag: string) {
> //......
> }
> ```
```
@Builder
function customDialogBuilder<T>(option: ListOptions<T>, 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: () => {