修复前端构建:移除未使用的 RUNNING_STATUS 变量
This commit is contained in:
@@ -74,8 +74,7 @@ const STATUS_COLORS: Record<string, string> = {
|
||||
running: 'processing',
|
||||
};
|
||||
|
||||
// 只有真正 running 才锁 UI / 轮询;pending 可能是历史脏数据,不能当运行中
|
||||
const RUNNING_STATUS = new Set(['running']);
|
||||
// 只有真正 running 才锁 UI / 轮询(见 isRunning);pending 可能是历史脏数据
|
||||
const RETRYABLE_BATCH = new Set(['finished', 'stopped', 'error', 'interrupted', 'pending']);
|
||||
|
||||
function safeNumber(value: unknown, fallback: number) {
|
||||
|
||||
Reference in New Issue
Block a user