Commit 9f197ae8 authored by chenshouchao's avatar chenshouchao

feat: 修改模板名称的maxlength

parent 20412306
...@@ -105,7 +105,7 @@ const SaveCustomTemplate = (props: IProps) => { ...@@ -105,7 +105,7 @@ const SaveCustomTemplate = (props: IProps) => {
helperText: "必须输入模板名称", helperText: "必须输入模板名称",
}); });
return false; return false;
} else if (title.length > 50) { } else if (title.length > 15) {
setTitleHelper({ setTitleHelper({
error: true, error: true,
helperText: "格式不正确,必须在15字符以内,仅限大小写字母、数字、中文", helperText: "格式不正确,必须在15字符以内,仅限大小写字母、数字、中文",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment