+
+ 时间:
+ {detailEntry.timestamp}
+
+
+ 级别:
+ {detailEntry.level}
+ 分类:
+ {CATEGORY_LABELS[detailEntry.category] || detailEntry.category}
+
+
+ 请求:
+ {detailEntry.method}
+ {detailEntry.url}
+
+ {detailEntry.proxy && (
+
+ 代理:
+ {detailEntry.proxy}
+
+ )}
+ {detailEntry.tag && (
+
+ 标签:
+ {detailEntry.tag}
+
+ )}
+
+ 耗时:
+ {detailEntry.duration_ms != null ? `${detailEntry.duration_ms}ms` : '-'}
+
+
+ {detailEntry.error ? (
+
+
+ {detailEntry.error}
+
+
+ ) : (
+
+
+ 状态码:
+ {detailEntry.response.status_code ? (
+
+ {detailEntry.response.status_code}
+
+ ) : -}
+
+
+
响应体:
+
+ {detailEntry.response.body || '(空)'}
+
+
+
+ )}
+
+
+
+ {JSON.stringify(detailEntry.request.headers, null, 2)}
+
+
+
+ {detailEntry.request.body && (
+
+
+ {typeof detailEntry.request.body === 'object'
+ ? JSON.stringify(detailEntry.request.body, null, 2)
+ : detailEntry.request.body}
+
+
+ )}
+
+ {Object.keys(detailEntry.response.headers || {}).length > 0 && (
+
+
+ {JSON.stringify(detailEntry.response.headers, null, 2)}
+
+
+ )}
+
+ )}
+