//把多维数组children降维到平级 1、数据 let data = [{ hosp:'北京一院', type:'门诊', children:[ {name1:1, num1:11}, {name2:22
方法一、数组字符串化 let arr = [[222, 333, 444], [55, 66, 77], {a: 1} ] arr += ''; arr = arr.split(','); console.l