fix: sorter tooltip

This commit is contained in:
jialin
2025-12-22 16:41:44 +08:00
parent cc7948ba45
commit 0d0592eee9
6 changed files with 8 additions and 0 deletions
+1
View File
@@ -145,6 +145,7 @@ const APIKeys: React.FC = () => {
rowSelection={rowSelection}
loading={dataSource.loading}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
rowKey="id"
onChange={handleTableChange}
pagination={{
@@ -3,6 +3,7 @@ import DeleteModal from '@/components/delete-modal';
import IconFont from '@/components/icon-font';
import { FilterBar } from '@/components/page-tools';
import { PageAction } from '@/config';
import { TABLE_SORT_DIRECTIONS } from '@/config/settings';
import type { PageActionType } from '@/config/types';
import useTableFetch from '@/hooks/use-table-fetch';
import { useIntl, useNavigate } from '@umijs/max';
@@ -203,6 +204,8 @@ const Credentials: React.FC = () => {
dataSource={dataSource.dataList}
rowSelection={rowSelection}
loading={dataSource.loading}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
rowKey="id"
onChange={handleTableChange}
pagination={{
+1
View File
@@ -105,6 +105,7 @@ const GPUList: React.FC = () => {
columns={columns}
style={{ width: '100%' }}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
tableLayout={dataSource.loadend ? 'auto' : 'fixed'}
dataSource={dataSource.dataList}
loading={dataSource.loading}
@@ -321,6 +321,7 @@ const ModelFiles = () => {
rowKey="id"
tableLayout="fixed"
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
style={{ width: '100%' }}
onChange={handleTableChange}
dataSource={dataSource.dataList}
@@ -275,6 +275,7 @@ const Workers: React.FC = () => {
<Table
columns={columns}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
tableLayout={dataSource.loadend ? 'auto' : 'fixed'}
style={{ width: '100%' }}
dataSource={dataSource.dataList}
+1
View File
@@ -194,6 +194,7 @@ const Users: React.FC = () => {
rowSelection={rowSelection}
loading={dataSource.loading}
sortDirections={TABLE_SORT_DIRECTIONS}
showSorterTooltip={false}
rowKey="id"
onChange={handleTableChange}
pagination={{