摘要: data.rows.sort(function(a,b){ return a.m-b.m;});//正序 data.rows.sort(function(a,b){ return b.m-a.m;});//倒序 阅读全文