diff --git a/paseo.json b/paseo.json
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/paseo.json
@@ -0,0 +1 @@
+{}
diff --git a/web/src/components/accounts/AccountManagementList.tsx b/web/src/components/accounts/AccountManagementList.tsx
index 301b3e8..d19fc94 100644
--- a/web/src/components/accounts/AccountManagementList.tsx
+++ b/web/src/components/accounts/AccountManagementList.tsx
@@ -20,7 +20,6 @@ import { PlusOutlined, CloudUploadOutlined } from '@ant-design/icons';
import type { ColumnsType } from 'antd/es/table';
import { getList, remove, creatorAction, creatorUpdate } from '@/services/api';
import { conflictMessage, isCollectionAccount, platformLabel } from '@/utils/helpers';
-import { usePageActions } from '@/components/PageActions';
// 语义对齐 web.archived/src/features/accounts/AccountsPage.jsx 的 AccountManagementList(mode: owned/monitoring)。
// 仅用 antd 默认组件:Table/Tag/Modal/Popconfirm/Select(tags)。
@@ -225,25 +224,25 @@ export default function AccountManagementList({ mode }: { mode: 'owned' | 'monit
},
];
- usePageActions(
- isMonitoring ? (
- } onClick={() => history.push('/accounts/import')}>
- 导入竞品账号
-
- ) : (
- } onClick={() => history.push('/accounts/new')}>
- 创建账号
-
- ),
- [isMonitoring],
+ const primaryAction = isMonitoring ? (
+ } onClick={() => history.push('/accounts/import')}>
+ 导入竞品账号
+
+ ) : (
+ } onClick={() => history.push('/accounts/new')}>
+ 创建账号
+
);
return (
{contextHolder}
-
- 共 {rows.length} 个{isMonitoring ? '监控' : '自有'}账号
-
+
+
+ 共 {rows.length} 个{isMonitoring ? '监控' : '自有'}账号
+
+ {primaryAction}
+
{error ? (
重试} />
) : null}