摘要: 1. 双引号转换为单引号 JSON.stringify(data).replace(/\"/g,"'"); 2. 单引号转换为双引号 data.replace(/'/g, '"'); 原文出处 : https://blog.csdn.net/weixin_33845881/article/detai 阅读全文
posted @ 2020-05-12 23:20 武卡卡 阅读(1793) 评论(0) 推荐(0) 编辑