let columns = [['中国','美国'],[['深圳','厦门','上海','拉萨'],['德克萨斯州','华盛顿','纽约','阿拉斯加']]]
let newArray = columns[0].map((v,i)=>{
return {
name:v,
children:columns[1][i].map(v={return {name:v}})
}
})
console.log(newArray);
08-27
416
05-19
353
06-14
488