diff --git a/components/input-number/index.en-US.md b/components/input-number/index.en-US.md index 88062d5cba..57c87344c5 100644 --- a/components/input-number/index.en-US.md +++ b/components/input-number/index.en-US.md @@ -18,6 +18,7 @@ When a numeric value needs to be provided. | max | max vale | number | Infinity | | 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 | +| precision | precision of input value | number | - | | defaultValue | initial value | number | | | onChange | The callback triggered when the value is changed. | function(value: number \| string) | | | disabled | disable the input | boolean | false | diff --git a/components/input-number/index.zh-CN.md b/components/input-number/index.zh-CN.md index b37b530283..e751708547 100644 --- a/components/input-number/index.zh-CN.md +++ b/components/input-number/index.zh-CN.md @@ -21,6 +21,7 @@ title: InputNumber | max | 最大值 | number | Infinity | | value | 当前值 | number | | | step | 每次改变步数,可以为小数 | number\|string | 1 | +| precision | 数值精度 | number | - | | defaultValue | 初始值 | number | | | onChange | 变化回调 | Function(value: number \| string) | | | disabled | 禁用 | boolean | false | diff --git a/package.json b/package.json index 6749d990d4..8850ca7097 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "rc-dropdown": "~1.4.8", "rc-editor-mention": "~0.6.11", "rc-form": "~1.3.0", - "rc-input-number": "~3.4.4", + "rc-input-number": "~3.5.0", "rc-menu": "~5.0.9", "rc-notification": "~1.4.0", "rc-pagination": "~1.8.7",