Skip to content

Commit

Permalink
fix: fix docs error (#4489)
Browse files Browse the repository at this point in the history
* docs: fix docs error

* docs: fix `Slider - action-text` type error
  • Loading branch information
fanhaoyuan committed Sep 15, 2021
1 parent a939567 commit ee16675
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/calendar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Page({

### Poppable Props

Canlendar`poppable``true` 时,支持以下 props:
Calendar`poppable``true` 时,支持以下 props:

| 参数 | 说明 | 类型 | 默认值 |
| ---------------------- | --------------------------------------- | --------- | -------- |
Expand All @@ -298,7 +298,7 @@ Page({

### Range Props

Canlendar`type``range` 时,支持以下 props:
Calendar`type``range` 时,支持以下 props:

| 参数 | 说明 | 类型 | 默认值 |
| ------------------ | --------------------------------------------- | ------------------ | ------------------------ |
Expand All @@ -324,7 +324,7 @@ Page({
| 事件名 | 说明 | 回调参数 |
| ----------------------- | ------------------------------------------------------------------ | ------------------------------ |
| select | 点击任意日期时触发 | _value: Date \| Date[]_ |
| unselect |Canlendar`type``multiple` 时,点击已选中的日期时触发 | _value: Date_ |
| unselect |Calendar`type``multiple` 时,点击已选中的日期时触发 | _value: Date_ |
| confirm | 日期选择完成后触发,若`show-confirm``true`,则点击确认按钮后触发 | _value: Date \| Date[]_ |
| open | 打开弹出层时触发 | - |
| close | 关闭弹出层时触发 | - |
Expand Down
2 changes: 1 addition & 1 deletion packages/search/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Page({
| value | 当前输入的值 | _string \| number_ | - |
| background | 搜索框背景色 | _string_ | `#f2f2f2` |
| show-action | 是否在搜索框右侧显示取消按钮 | _boolean_ | `false` |
| action-text `v1.0.0` | 取消按钮文字 | _boolean_ | `取消` |
| action-text `v1.0.0` | 取消按钮文字 | _string_ | `取消` |
| focus | 获取焦点 | _boolean_ | `false` |
| error | 是否将输入内容标红 | _boolean_ | `false` |
| disabled | 是否禁用输入框 | _boolean_ | `false` |
Expand Down
2 changes: 1 addition & 1 deletion packages/slider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Page({
| bar-height | 进度条高度,默认单位为 `px` | _string \| number_ | `2px` |
| active-color | 进度条激活态颜色 | _string_ | `#1989fa` |
| inactive-color | 进度条默认颜色 | _string_ | `#e5e5e5` |
| use-slot-button | 是否使用钮插槽 | _boolean_ | `false` |
| use-slot-button | 是否使用按钮插槽 | _boolean_ | `false` |
| range `v1.8.4` | 是否开启双滑块模式 | _boolean_ | `false` |

### Events
Expand Down

0 comments on commit ee16675

Please sign in to comment.