fix: uniform workspace name length limit, fixed #810

This commit is contained in:
QiShaoXuan
2023-02-07 14:00:33 +08:00
parent c953e82234
commit 3c5a98ff7c
3 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -38,8 +38,9 @@ export const Input = (props: inputProps) => {
if (
(maxLength && e.target.value.length > maxLength) ||
(minLength && e.target.value.length < minLength)
)
) {
return;
}
setValue(e.target.value);
onChange && onChange(e.target.value);
};