前端项目实战203-前端sort得用法

temp.sort((a: any, b: any) => { return a.team.localeCompare(b.team) });

posted @ 2022-11-28 19:17  前端导师歌谣  阅读(22)  评论(0)    收藏  举报