得到的数据:vardata=[{"year":"2018-03-03","qidong":"17:01:37","shicha":"25","jieshu":"17:02:03"},{"year":"2018-03-03","qidong":"17:01:06","shicha":"14","jieshu":"17:01:20"},{"year":"2018-03-04","qidong":"17:00:41","shicha":"11","jieshu":"17:00:52"},{"year":"2018-03-04","qidong":"17:00:06","shicha":"7","jieshu":"17:00:13"}];请教如何把数组生成新的类型数组?如下vardata=[{"year":"2018-03-03","qidong":"17:01:37,17:01:06","shicha":"25,14","jieshu":"17:02:03,17:01:20"},{"year":"2018-03-04","qidong":"17:00:41,17:00:06","shicha":"11,7","jieshu":"17:00:52,17:00:13"},];
翻过高山走不出你
相关分类