1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

Merge branch '11.0'

This commit is contained in:
lian
2024-11-01 16:32:20 +08:00
13 changed files with 55 additions and 19 deletions

View File

@@ -46,7 +46,7 @@ class CreateForder extends React.Component {
if (!this.state.isSubmitBtnActive) {
return;
}
let newName = this.state.childName;
let newName = this.state.childName.trim();
let { isValid, errMessage } = validateName(newName);
if (!isValid) {
this.setState({ errMessage });