fix: cvs blank

This commit is contained in:
devezhao 2021-10-13 00:09:37 +08:00
parent ce426d1d47
commit 7b16dd9674

View file

@ -99,10 +99,10 @@ public class DataExporter extends SetUser {
boolean b = true;
for (String s : line) {
if (b) b = false;
else sb.append(", ");
else sb.append(",");
if (s.contains(",")) {
s = s.replace(",", "");
s = s.replace(",", ""); // 转义 ,
}
sb.append(s);
}