mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 09:57:47 +08:00
feat(usage): 展示调度跳过候选及原因并补齐手机端提示
This commit is contained in:
@@ -3,6 +3,7 @@ import type { UsageRecord, FilterStatusValue } from '../types'
|
||||
import {
|
||||
hasUsageFallback,
|
||||
hasUsageRetry,
|
||||
hasUsageSkippedCandidate,
|
||||
isUsageRecordFailed,
|
||||
isUsageUpstreamStream,
|
||||
isUsageWebSocket,
|
||||
@@ -97,6 +98,8 @@ export function useUsageFilters(options: UseUsageFiltersOptions) {
|
||||
records = records.filter(record => hasUsageFallback(record))
|
||||
} else if (filterStatus.value === 'has_retry') {
|
||||
records = records.filter(record => hasUsageRetry(record))
|
||||
} else if (filterStatus.value === 'has_skipped_candidate') {
|
||||
records = records.filter(record => hasUsageSkippedCandidate(record))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user