降序
this.list = res.data.sort((a, b) => {
return b.tbYear - a.tbYear
})
升序
this.list = res.data.sort((a, b) => {
return a.tbYear - b.tbYear
})
降序
this.list = res.data.sort((a, b) => {
return b.tbYear - a.tbYear
})
升序
this.list = res.data.sort((a, b) => {
return a.tbYear - b.tbYear
})