fix: bug inputType

This commit is contained in:
yejiezhao 2023-07-17 15:40:35 +08:00
parent 7d985dbfce
commit d03d77d870
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export const Input = ({ inputParam, value, onChange, disabled = false, showDialo
Input.propTypes = {
inputParam: PropTypes.object,
value: PropTypes.string,
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
onChange: PropTypes.func,
disabled: PropTypes.bool,
showDialog: PropTypes.bool,