fix: single sorted field, remove token

This commit is contained in:
jialin
2025-12-22 10:10:35 +08:00
parent db45c861e4
commit 45efda7f1d
10 changed files with 59 additions and 25 deletions
+2 -1
View File
@@ -49,7 +49,7 @@ const SealTable: React.FC<SealTableProps & { pagination: PaginationProps }> = (
loadChildren,
loadChildrenAPI
} = props;
const { handleOnTableSort } = useSorter({
const { handleOnTableSort, sorterList } = useSorter({
onTableSort,
columns
});
@@ -166,6 +166,7 @@ const SealTable: React.FC<SealTableProps & { pagination: PaginationProps }> = (
onSort={handleOnTableSort}
columns={parsedColumns}
sortDirections={sortDirections}
sorterList={sorterList}
></Header>
</div>
<Spin spinning={loading}>