From e52d8c797bd2caa128429ebc8cefc2dd56c9acc3 Mon Sep 17 00:00:00 2001 From: Rogee Date: Mon, 28 Sep 2026 07:20:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E6=88=91=E7=9A=84=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=8C=89=E9=92=AE=E8=BF=9B=20Card=20?= =?UTF-8?q?=E5=8F=B3=E4=B8=8A=E8=A7=92=E3=80=81=E8=A1=A5=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E3=80=81=E5=88=A0=E5=B9=B3=E5=8F=B0=E5=88=97=EF=BC=88=E8=B5=B0?= =?UTF-8?q?=E6=9F=A5=20P1-#3/#6=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accounts/AccountManagementList.tsx | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) 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 ? ( 重试} />