Sort array ascending and descending reactjs

前端 未结 0 657
执念已碎
执念已碎 2020-12-16 08:34

I\'m trying to sort my data from ascending to descending. This is my code:

  const onSort = (sortKey) => {
  let sortCustomer = [...customers];
  sortCusto         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题