style(frontend): 全项目表格统一百分比布局并居中

This commit is contained in:
yml2213
2026-10-24 14:49:23 +08:00
parent a96229a106
commit ce8efa6bad
52 changed files with 346 additions and 145 deletions
@@ -1,5 +1,6 @@
import { useQuery, useQueryClient } from '@tanstack/react-query'
import { App, Alert, Button, Card, Space, Switch, Table, Typography } from 'antd'
import { App, Alert, Button, Card, Space, Switch, Typography } from 'antd'
import PercentTable from '@/components/common/PercentTable'
import type { TableColumnsType } from 'antd'
import { useEffect, useState } from 'react'
@@ -143,7 +144,7 @@ export default function NotificationsPanel() {
message="配置仅影响保存后产生的通知"
description="关闭后台待办后,声音播报会同步关闭;已创建的待办不会被隐藏或删除。"
/>
<Table
<PercentTable
rowKey="key"
columns={columns}
dataSource={notificationEventRows}