从后台获取到的JSON为一个字符串形式的数据:
{"createTime":1528773852384,"dealPrice":"0.000000","id":19144683686985728,"isView":true,"totalPrice":"1.000000","waitProduct":"1.000000"}
这条数据的id为19144683686985728,但JSON.parse()后发现数据转换后被改动了
{
"createTime": 1528773852384,
"dealPrice": "0.000000",
"id": 19144683686985730,
"isView": true,
"totalPrice": "1.000000",
"waitProduct": "1.000000"
}
id后两位从28改成了30,应该如何让它正常解析,求解,最好是能前端解决
繁花不似锦
慕妹3242003
守候你守候我
相关分类