js替换换行符

  • Post author:
  • Post category:其他


将换行符去掉

.replace(/\\r\\n/g,”);



版权声明:本文为sunningqu原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。