摘要: res = JSON.parse(result.replace(/\n/g,"\\n").replace(/\r/g,"\\r"));//转义str_o = res.result;str_n = str_o.replace(/\\n/g,"\r\n");//解析后再转回来 摘自:https://bl 阅读全文
posted @ 2019-10-22 14:26 浪浪浪浪浪浪浪浪 阅读(2528) 评论(0) 推荐(0) 编辑