textarea

将所以的\n换行符号替换为''
str.replace(/\n/g, '')

posted @ 2022-07-12 19:40  Running00  阅读(40)  评论(0编辑  收藏  举报