摘要: taskList.sort(this.compare("要排序的参数")); this.list = taskList; compare(property) { return function (a, b) { var value1 = a[property]; var value2 = b[pro 阅读全文
posted @ 2021-11-26 15:28 light丶 阅读(617) 评论(0) 推荐(0)