diff --git a/components/input/demo/tooltip.md b/components/input/demo/tooltip.md index c775f1af1e..831cf1d18a 100644 --- a/components/input/demo/tooltip.md +++ b/components/input/demo/tooltip.md @@ -45,7 +45,7 @@ class NumericInput extends React.Component { onBlur = () => { const { value, onBlur, onChange } = this.props; if (value.charAt(value.length - 1) === '.' || value === '-') { - onChange({ value: value.slice(0, -1) }); + onChange(value.slice(0, -1)); } if (onBlur) { onBlur();