Browse Source

fix #15037 (#15042)

pull/15052/head
Jason Yin 6 years ago
committed by zombieJ
parent
commit
b30e90ba31
  1. 2
      components/input/demo/tooltip.md

2
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();

Loading…
Cancel
Save