changeTableSort_1(column){
var sortingType = column.order;
if(sortingType == "descending"){
this.tableData = this.tableData.sort((a, b) =>b.name.localeCompare(a.name));
}
else{
this.tableData = this.tableData.sort((a, b) => a.name.localeCompare(b.name));
}
},
网友评论