文本框换行转译
data.indexOf('\\n') != '-1'
data.replace(/\\n/g,"\r"),
else
data.replace(/\\r/g,"/r")
html换行转译
data.indexOf('\\n') != '-1'
data.replace(/\\n/g,"<br/>")
else
data.replace(/\\r/g,"<br/>")
2023-10-11 12:15:34
文本框换行转译
data.indexOf('\\n') != '-1'
data.replace(/\\n/g,"\r"),
else
data.replace(/\\r/g,"/r")
html换行转译
data.indexOf('\\n') != '-1'
data.replace(/\\n/g,"<br/>")
else
data.replace(/\\r/g,"<br/>")