今天遇到了个问题 就是 ajax post提交数据 无论如何不能成功 一直报 Unrecognized token 'xxxx': was expecting ('true', 'false' or 'null') 异常 后来检查发现 我在ajax里边 data:data 没有使用
JSON.stringify(data) 这个函数 会将动态的Object转成静态json String 然后测试 成功了
Unrecognized token 'xxxx': was expecting ('true', 'false' or 'null')
猜你喜欢
转载自blog.csdn.net/zhang_zhongkang/article/details/80986418
今日推荐
周排行