开发:修复错误

pull/2811/head
ChenX 4 months ago
parent 5d77395163
commit 3ddc651f99

@ -83,7 +83,8 @@ export class INumericInput extends React.Component<INumericInputProps, {}>
return; return;
} }
this._Value = parseFloat(FixedNotZero(num, this._Float)); this._Value = parseFloat(FixedNotZero(num, this._Float));
this.props.onValueChange(num, value, e); if (this.props.onValueChange)
this.props.onValueChange(num, value, e);
this._isPopoverOpen = false; this._isPopoverOpen = false;
}} }}
onFocus={(e) => onFocus={(e) =>

Loading…
Cancel
Save