From 4d1bf9094316b30af34821e2fb2628cf55c52720 Mon Sep 17 00:00:00 2001 From: Rogee Date: Mon, 28 Sep 2026 07:19:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E8=AF=A6=E6=83=85=E9=A1=B5=20Flex?= =?UTF-8?q?=20=E8=A1=A5=20vertical=EF=BC=8C=E6=81=A2=E5=A4=8D=E7=BA=B5?= =?UTF-8?q?=E5=90=91=E5=8D=A1=E7=89=87=E5=B8=83=E5=B1=80=EF=BC=88=E8=B5=B0?= =?UTF-8?q?=E6=9F=A5=20P0-#1=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/attempts/$id/index.tsx | 2 +- web/src/pages/browsers/$id/index.tsx | 2 +- web/src/pages/drafts/$id/index.tsx | 10 +++++----- web/src/pages/network-exits/$id/index.tsx | 2 +- web/src/pages/tasks/$id/index.tsx | 10 +++++----- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/web/src/pages/attempts/$id/index.tsx b/web/src/pages/attempts/$id/index.tsx index 9bd7b04..af753d6 100644 --- a/web/src/pages/attempts/$id/index.tsx +++ b/web/src/pages/attempts/$id/index.tsx @@ -42,7 +42,7 @@ export default function Page() { - + {attempt.outcome || '执行中'} {dateTime(attempt.started_at)} diff --git a/web/src/pages/browsers/$id/index.tsx b/web/src/pages/browsers/$id/index.tsx index e46e987..8bb8c52 100644 --- a/web/src/pages/browsers/$id/index.tsx +++ b/web/src/pages/browsers/$id/index.tsx @@ -57,7 +57,7 @@ export default function Page() { - + {stateText[runtime.state] ?? `未知状态:${runtime.state}`} diff --git a/web/src/pages/drafts/$id/index.tsx b/web/src/pages/drafts/$id/index.tsx index a43d8a5..01e0266 100644 --- a/web/src/pages/drafts/$id/index.tsx +++ b/web/src/pages/drafts/$id/index.tsx @@ -135,12 +135,12 @@ export default function Page() { } /> ) : null} - + {draft.content} - + {draft.account.version} {draft.version} @@ -151,7 +151,7 @@ export default function Page() { - + {versions.map((item: any) => item.id === draft.id ? ( @@ -166,7 +166,7 @@ export default function Page() { - + setReviewed(e.target.checked)}> 我已核对当前账号、草稿内容、运行环境和网络出口 @@ -193,7 +193,7 @@ export default function Page() { {tasks.length === 0 ? ( 尚未入队。 ) : ( - + {tasks.map((task: any) => ( {task.id} diff --git a/web/src/pages/network-exits/$id/index.tsx b/web/src/pages/network-exits/$id/index.tsx index 66e1620..642841c 100644 --- a/web/src/pages/network-exits/$id/index.tsx +++ b/web/src/pages/network-exits/$id/index.tsx @@ -52,7 +52,7 @@ export default function Page() { - + {known ? healthText[exit.health_status] : `未知状态:${exit.health_status}`} diff --git a/web/src/pages/tasks/$id/index.tsx b/web/src/pages/tasks/$id/index.tsx index a618604..ba749da 100644 --- a/web/src/pages/tasks/$id/index.tsx +++ b/web/src/pages/tasks/$id/index.tsx @@ -110,7 +110,7 @@ export default function Page() { key: 'status', label: '当前状态', children: ( - + {stateText[task.state] || `未知状态:${task.state}`} {holdLabel(task.hold_reason)} @@ -123,7 +123,7 @@ export default function Page() { key: 'confirmation', label: '确认快照', children: ( - + {confirmation.id || '未记录'} · v{confirmation.version || '—'} @@ -148,7 +148,7 @@ export default function Page() { key: 'execution', label: '执行关联', children: ( - + {task.browser_env_alias || '未记录'} {task.network_exit_id || '未记录'} @@ -175,7 +175,7 @@ export default function Page() { key: 'action', label: '唯一安全动作', children: ( - + {task.readiness_reason ? : null} {task.allowed_action === 'verify' ? ( <> @@ -237,7 +237,7 @@ export default function Page() { 执行尝试 {task.attempts?.length ? ( - + {task.attempts.map((attempt: any) => ( history.push(`/attempts/${encodeURIComponent(attempt.id)}`)}>{attempt.id}