This commit is contained in:
邹宗楠
2023-07-27 14:14:17 +08:00
parent b4863c6936
commit 07df1b00e3

View File

@@ -401,7 +401,7 @@ func checkNameLength(name string, weight int, uint string) string {
if len(name) <= tao_vegetable.NameMaxLength { if len(name) <= tao_vegetable.NameMaxLength {
return name return name
} }
lastName = name
if strings.Contains(name, "(") { if strings.Contains(name, "(") {
startIndex := strings.Index(name, "(") startIndex := strings.Index(name, "(")
endIndex := strings.Index(name, ")") endIndex := strings.Index(name, ")")