fix(trace): 请求追踪详情默认展示全部候选记录

This commit is contained in:
fawney19
2026-03-07 02:30:48 +08:00
parent fb1aeb789a
commit d28fea80df

View File

@@ -60,7 +60,7 @@ export const requestTraceApi = {
requestId: string,
options: { attemptedOnly?: boolean } = {},
): Promise<RequestTrace> {
const attemptedOnly = options.attemptedOnly ?? true
const attemptedOnly = options.attemptedOnly ?? false
const response = await apiClient.get<RequestTrace>(`/api/admin/monitoring/trace/${requestId}`, {
params: { attempted_only: attemptedOnly },
})