后台数据前台代码
试下
num = encodeURI(JSON.stringify(data),"utf-8")
进行一下编码解码的处理应该就可以了。还望采纳。谢谢。
encodeURI(num); // 编码 decodeURI(data); // 解码