update 明确排序功能

This commit is contained in:
2021-04-28 15:44:02 +08:00
parent a4f462506a
commit 94ba4f3056
2 changed files with 20 additions and 1 deletions

View File

@@ -128,7 +128,10 @@ export default {
onTableChange(pagination, filters, sorter) {
this.pagination = pagination
this.sorter = sorter
this.sorter = {
sortField: sorter.field,
sortOrder: sorter.order,
}
this.onLoadData()
},