摘要: function compare(property,desc) { return function (a, b) { var value1 = a[property]; var value2 = b[property]; if(desc==true){ // 升序排列 return value1 - 阅读全文
posted @ 2020-02-13 12:30 番茄西红柿u 阅读(1039) 评论(0) 推荐(0)