fix: 跳过自动调度空目录

This commit is contained in:
2026-05-25 17:54:56 +08:00
parent 8e891964d5
commit 272ff38070
6 changed files with 39 additions and 7 deletions
+2 -2
View File
@@ -230,8 +230,8 @@
<div v-if="schedulerDirectoryRows.length > 0" class="scheduler-directory-list">
<div v-for="row in schedulerDirectoryRows" :key="row.name" class="scheduler-directory-row">
<span class="scheduler-directory-name">{{ row.name }}</span>
<n-tag size="small" :type="row.ready ? 'success' : 'warning'">
{{ row.ready ? '就绪' : `缺 ${row.missing_days.length} 天` }}
<n-tag size="small" :type="row.skipped ? 'info' : row.ready ? 'success' : 'warning'">
{{ row.skipped ? '已停推' : row.ready ? '就绪' : `缺 ${row.missing_days.length} 天` }}
</n-tag>
</div>
</div>
+2
View File
@@ -140,6 +140,8 @@ export interface RemoteSchedulerStatus {
required_count: number;
file_count: number;
error?: string | null;
skipped?: boolean;
skip_reason?: string | null;
}
>;
message?: string;