update doc

This commit is contained in:
afc163 2017-02-25 18:37:25 +08:00
parent c78d3032f5
commit d2e178d215
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,6 @@ When a numeric value needs to be provided.
| value | current value | number | |
| step | The number to which the current value is increased or decreased. It can be an integer or decimal. | number\|string | 1 |
| defaultValue | initial value | number | |
| onChange | The callback triggered when the value is changed. | Function(value) | |
| onChange | The callback triggered when the value is changed. | Function(value: number | string) | |
| disabled | disable the input | boolean | false |
| size | width of input box | string | none |

View File

@ -22,6 +22,6 @@ title: InputNumber
| value | 当前值 | number | |
| step | 每次改变步数,可以为小数 | number\|string | 1 |
| defaultValue | 初始值 | number | |
| onChange | 变化回调 | Function(value) | |
| onChange | 变化回调 | Function(value: number | string) | |
| disabled | 禁用 | boolean | false |
| size | 输入框大小 | string | 无 |