fix: cancel sorting
This commit is contained in:
@@ -727,6 +727,7 @@ const Models: React.FC<ModelsProps> = ({
|
||||
dataSource={dataSource}
|
||||
rowSelection={rowSelection}
|
||||
expandedRowKeys={expandedRowKeys}
|
||||
showSorterTooltip={false}
|
||||
onExpand={handleExpandChange}
|
||||
onExpandAll={handleToggleExpandAll}
|
||||
loading={loading}
|
||||
|
||||
@@ -327,6 +327,7 @@ const Models: React.FC = () => {
|
||||
setQueryParams((pre: any) => {
|
||||
return {
|
||||
...pre,
|
||||
page: 1,
|
||||
sort_by: sortKeys.join(',')
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user