chore: small fixes and optimizations

This commit is contained in:
jialin
2025-11-17 20:15:26 +08:00
parent 906f59a566
commit e22b5ed516
9 changed files with 63 additions and 47 deletions
@@ -3,7 +3,7 @@ import AutoTooltip from '@/components/auto-tooltip';
import DropdownButtons from '@/components/drop-down-buttons';
import { SealColumnProps } from '@/components/seal-table/types';
import StatusTag from '@/components/status-tag';
import { Link, useIntl } from '@umijs/max';
import { useIntl } from '@umijs/max';
import dayjs from 'dayjs';
import { useMemo } from 'react';
import {
@@ -35,13 +35,7 @@ const useClusterColumns = (
dataIndex: 'name',
span: 3,
render: (text: string, record: ClusterListItem) => (
<AutoTooltip ghost>
<Link
to={`/cluster-management/clusters/detail?id=${record.id}&provider=${record.provider}&name=${record.name}`}
>
{text}
</Link>
</AutoTooltip>
<AutoTooltip ghost>{text}</AutoTooltip>
)
},
{