javascript 后台与前台传递json 需要注意换行符 不然报错

来源:互联网 发布:装饰美工路牌广告设计 编辑:程序博客网 时间:2024/05/29 18:46

需要进行符号替换

replace("\r\n", "\\r\\n")


0 0
原创粉丝点击