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

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

posted @ 2022-11-26 16:43  前端导师歌谣  阅读(26)  评论(0)    收藏  举报