摘要: [{Col:2,Row:3,Lay:1},{Col:1,Row:1,Lay:1},{Col:1,Row:2,Lay:4}] 简略数据格式如上,用sort方法排序 data.Result.sort((a,b)=>{ if(a.Row!==b.Row){ return a.Row-b.Row } els 阅读全文
posted @ 2022-11-21 13:56 2han9x1nyun 阅读(74) 评论(0) 推荐(0)