双引号替换成单引号var domo = JSON.stringify(address).replace(/\"/g,"'"); 单引号替换成双引号var value_name = value_name.replace(/'/g, '"'); 喜欢