JSON格式有误,需用JSON.stringify()函数转换一下
参考
https://www.cnblogs.com/sunyanblog/p/13788740.html
https://www.runoob.com/js/javascript-json-stringify.html
首页 > 技术文章 > [bug] Unrecognized token 'code': was expecting (JSON String, Number, Array, Object,'true', 'false' or 'null')
cxc1357 2021-02-20 22:34 原文
JSON格式有误,需用JSON.stringify()函数转换一下
参考
https://www.cnblogs.com/sunyanblog/p/13788740.html
https://www.runoob.com/js/javascript-json-stringify.html