diff --git a/web/src/components/accounts/AccountManagementList.tsx b/web/src/components/accounts/AccountManagementList.tsx index ad09396..b5c06ad 100644 --- a/web/src/components/accounts/AccountManagementList.tsx +++ b/web/src/components/accounts/AccountManagementList.tsx @@ -18,17 +18,15 @@ import { Typography, message, } from 'antd'; -import { PlusOutlined } from '@ant-design/icons'; +import { PlusOutlined, ReloadOutlined } from '@ant-design/icons'; import type { ColumnsType } from 'antd/es/table'; import { remove, creatorUpdate, creatorGet } from '@/services/api'; import { conflictMessage, dateTime } from '@/utils/helpers'; -import { usePageActions } from '@/components/PageActions'; // 仅用 antd 默认组件:Table/Tag/Modal/Popconfirm/Select(tags)。 interface Row { id: string; name: string; - platform: string; platform_account_key: string; tags?: string[]; runtime_status?: string; @@ -117,7 +115,6 @@ export default function AccountManagementList() { ), }, - { title: '平台', dataIndex: 'platform', render: () => '抖音' }, { title: '作品数据', dataIndex: 'work_count', @@ -176,17 +173,17 @@ export default function AccountManagementList() { }, ]; - usePageActions( - , - ); - return ( {contextHolder} 共 {rows.length} 个自有账号 + + + {error ? ( 重试} />