fix: do not set default version

This commit is contained in:
jialin
2025-10-16 15:05:21 +08:00
parent e2da7c5f96
commit 1da16a04fe
11 changed files with 53 additions and 19 deletions
+4 -1
View File
@@ -63,10 +63,13 @@ const SealInput: React.FC<InputProps & SealFormItemProps> = (props) => {
};
const handleOnBlur = (e: any) => {
e.target.value = e.target.value?.trim?.();
if (!inputRef.current?.input?.value) {
setIsFocus(false);
}
if (!trim) {
e.target.value = e.target.value?.trimRight?.();
props.onChange?.(e);
}
props.onBlur?.(e);
};