diff --git a/apps/web/app/components/dashboard/home-runtime.tsx b/apps/web/app/components/dashboard/home-runtime.tsx index 304a5576..d486df44 100644 --- a/apps/web/app/components/dashboard/home-runtime.tsx +++ b/apps/web/app/components/dashboard/home-runtime.tsx @@ -171,7 +171,7 @@ function RuntimeOverview({ downloaders }: { downloaders?: Dashboard["sources"]["
> ) : ( -{board?.counts.active} - 项进行中 + 个下载进行中
- 进行中含等待计划、暂停和异常任务 · 速度含下载器全部任务 + 进行中包括还没提交、已暂停和出错的下载 · 速度是下载器里全部任务的合计
{board?.liveAt ? ( -速度采样于 {formatRelative(board.liveAt)}
+速度更新于 {formatRelative(board.liveAt)}
) : null} > )} diff --git a/apps/web/app/routes/console/home.tsx b/apps/web/app/routes/console/home.tsx index ec0d0e35..4bf2d276 100644 --- a/apps/web/app/routes/console/home.tsx +++ b/apps/web/app/routes/console/home.tsx @@ -121,7 +121,7 @@ function StatusLine({ d }: { d: Dashboard }) { await update.mutateAsync({ automation: { enabled } }); toast.success(enabled ? "自动化已恢复" : "自动化已暂停"); } catch (err) { - toast.error(errorMessage(err, "切换失败")); + toast.error(errorMessage(err, enabled ? "恢复失败" : "暂停失败")); throw err; } }; @@ -217,11 +217,11 @@ function Busy({ w }: { w: Dashboard["currentWork"] }) { ]); const empty = !downloads.length && !agents.length && !runs.length; return ( -今天整理 {today} 个文件
: null} + {today ?今天已整理 {today} 个文件
: null}