fix(style): layout content padding

This commit is contained in:
jialin
2025-02-24 14:10:50 +08:00
parent 529b3cb18f
commit f91311144b
17 changed files with 92 additions and 19 deletions
@@ -75,6 +75,24 @@ const InstanceItem: React.FC<InstanceItemProps> = ({
}) => {
const intl = useIntl();
const distributeCols = [
{
title: 'Worker',
key: 'worker_name'
},
{
title: 'IP',
key: 'worker_ip',
render: ({ row }: { row: ModelInstanceListItem }) => {
return row.port ? `${row.worker_ip}:${row.port}` : row.worker_ip;
}
},
{
title: intl.formatMessage({ id: 'models.table.gpuindex' }),
key: 'gpu_index'
}
];
const renderWorkerInfo = (item: ModelInstanceListItem) => {
let workerIp = '-';
if (item.worker_ip) {