目录
1、 识别不了空数组,只能打印出来{__ob__: Observer}
2、遇到把字符串解析为对象
1、 识别不了空数组,只能打印出来{__ob__: Observer}

遇到了这种,可以使用
"JSON.stringify(JSON.parse(JSON.stringify(obj))"
解析成空对象 { }
2、遇到把字符串解析为对象
if (res.data.invoiceAddress) {
var res_invoiceAddress = JSON.parse(res.data.invoiceAddress);
}













![[计算机提升] 系统软件:信息类](https://img-blog.csdnimg.cn/a19c036bbc154774b88a3c87ae9d0a92.png)





