JS去除后台传来数据的反编译符号 使用replace字符串分隔 var a = data.news; let reg = /\\/g; let b= a.replace(reg,''); console.log("b : " + b); $("#id").html(b);