fix: the input field of tool panel not worked as expected (#6003)

This commit is contained in:
非法操作
2024-07-06 09:54:30 +08:00
committed by GitHub
parent ab847c81fa
commit eee779a923
4 changed files with 16 additions and 9 deletions

View File

@@ -53,7 +53,7 @@ const Input: FC<InputProps> = ({
onChange={e => onChange(e.target.value)}
onBlur={e => toLimit(e.target.value)}
onFocus={onFocus}
value={value || ''}
value={value}
disabled={disabled}
type={type}
min={min}