仅仅须要在生成文本的最后 加上 sb.append("\n\r");就可以 是/n/r 不是/r/n 转载于:https://www.cnblogs.com/blfshiye/p/5102591.html