Browse Source

docs(basic): 更新 README 文档

- 在 Alert 组件的使用说明中添加了额外的注意事项- 优化了文档的格式和结构,提高了可读性
徐勤民 4 days ago
parent
commit
280d9d2ee8
1 changed files with 14 additions and 10 deletions
  1. 14 10
      README.md

+ 14 - 10
README.md

@@ -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: () => {