// 排序 this.Data.sort((a, b) => { return a.legend.localeCompare(b.legend) })
js对对象数组中的中文字段进行排序
原文:https://www.cnblogs.com/alt-fsh/p/14155041.html