style(frontend): 全项目表格统一百分比布局并居中
This commit is contained in:
@@ -10,10 +10,10 @@ import {
|
||||
Skeleton,
|
||||
Space,
|
||||
Statistic,
|
||||
Table,
|
||||
Tag,
|
||||
Typography,
|
||||
} from 'antd'
|
||||
import PercentTable from '@/components/common/PercentTable'
|
||||
import type { TableColumnsType } from 'antd'
|
||||
import { useQuery } from '@tanstack/react-query'
|
||||
import { useMemo, useState } from 'react'
|
||||
@@ -226,7 +226,7 @@ export default function AdminDashboardPage() {
|
||||
/>
|
||||
) : null}
|
||||
|
||||
<Table<AdminLoginLogItem>
|
||||
<PercentTable<AdminLoginLogItem>
|
||||
rowKey="logId"
|
||||
loading={loginQuery.isLoading || loginQuery.isFetching}
|
||||
columns={columns}
|
||||
|
||||
Reference in New Issue
Block a user