diff --git a/web/src/pages/accounts/import.tsx b/web/src/pages/accounts/import.tsx
index 853f005..82e4aaf 100644
--- a/web/src/pages/accounts/import.tsx
+++ b/web/src/pages/accounts/import.tsx
@@ -29,6 +29,7 @@ interface Job {
failure_reason?: string;
created_at?: string;
author_name?: string;
+ competitor_id?: string;
}
interface FormValues {
@@ -119,14 +120,22 @@ export default function Page() {
{
title: '账号名称',
dataIndex: 'author_name',
- render: (value?: string, job?: Job) =>
- value ? (
- {value}
+ render: (value?: string, job?: Job) => {
+ if (!value) {
+ return (
+
+ {job?.status === 'failed' ? '解析失败' : '解析中'}
+
+ );
+ }
+ // 名称来自 competitor_id 关联的监控账号(creator_competitor),点击跳转竞品作者详情。
+ const inner = {value};
+ return job?.competitor_id ? (
+ {inner}
) : (
-
- {job?.status === 'failed' ? '解析失败' : '解析中'}
-
- ),
+ inner
+ );
+ },
},
{
title: '分享链接',