From 5938f3aef96064427ba4d3772896dbf9c6fd536f Mon Sep 17 00:00:00 2001 From: BaoXuebin Date: Sun, 22 Dec 2024 23:14:53 +0800 Subject: [PATCH] =?UTF-8?q?fixbug:=20#94=201000=E4=BB=A5=E4=B8=8A=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E5=80=BC=E5=85=BC=E5=AE=B9=E5=8D=83=E5=88=86=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/file.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/file.go b/script/file.go index 681e193..2351953 100644 --- a/script/file.go +++ b/script/file.go @@ -269,7 +269,8 @@ func CleanString(str string) string { return "" } // 去除 " ", ";", "\r" - result := strings.ReplaceAll(str, " ", "") + result := strings.ReplaceAll(str, ",", "") + result = strings.ReplaceAll(result, " ", "") result = strings.ReplaceAll(result, ";", "") result = strings.ReplaceAll(result, "\r", "") return result