问题如图: 调试打印的时候数组太长,无法完整显示,用省略号代替。
解决办法: console.log(JSON.stringify(数组或对象));
console.log(JSON.stringify(数组或对象));