diff --git a/apps/desktop/src/renderer/src/features/runs/running-workspace.tsx b/apps/desktop/src/renderer/src/features/runs/running-workspace.tsx index 07b2ef4..59ab6bf 100644 --- a/apps/desktop/src/renderer/src/features/runs/running-workspace.tsx +++ b/apps/desktop/src/renderer/src/features/runs/running-workspace.tsx @@ -20,43 +20,48 @@ export function RunningWorkspace({ const totalCount = activeGroups.length + activeRuns.length return ( -
-
-
- -
-
-

运行中

-

+

+
+
+

+ 运行中 +

+

{totalCount > 0 ? `${totalCount} 个活动项正在运行` : '查看当前项目脚本和批量任务'}

-
+
{totalCount > 0 ? ( - +
+ +
) : (
- -

当前没有运行中的任务

-

- 启动项目脚本或批量任务后,它们会在这里集中显示,方便查看日志和停止运行。 -

+
+ +
+
+

当前没有运行中的任务

+

+ 启动项目脚本或批量任务后,它们会在这里集中显示,方便查看日志和停止运行。 +

+
)} -
+
) } diff --git a/apps/desktop/src/renderer/src/features/sidebar/sidebar-running-section.tsx b/apps/desktop/src/renderer/src/features/sidebar/sidebar-running-section.tsx index 114d0e3..bc747dd 100644 --- a/apps/desktop/src/renderer/src/features/sidebar/sidebar-running-section.tsx +++ b/apps/desktop/src/renderer/src/features/sidebar/sidebar-running-section.tsx @@ -70,21 +70,18 @@ export function SidebarRunningSection({ )} aria-label="运行中任务" > -
-
- - 运行中 - - - {totalCount} - -
-
+ {!page && ( +
+
+ + 运行中 + + + {totalCount} + +
+
+ )} {actionError && (

@@ -104,7 +101,10 @@ export function SidebarRunningSection({ return (