📅  最后修改于: 2022-03-11 15:03:20.937000             🧑  作者: Mango
var data = {"\\id\\":"\\23232\\","\\pass\\":"\\1434\\"};
console.log(data);
var b=JSON.stringify(data);
str = b.replace(/\\/g, '');
console.log(str);