data.map(x => {return x.dateStr});
dateStr 是json的属性
从json数组中获取某一属性的集合
原文:https://www.cnblogs.com/SeaWxx/p/11227625.html