From 104ecc4691713a60947983e66d7a20d0639fac64 Mon Sep 17 00:00:00 2001 From: Sakurasan <26715255+Sakurasan@users.noreply.github.com> Date: Tue, 1 Sep 2026 03:16:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=9F=E5=A7=8B=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E6=94=B9=E4=B8=BA=E6=A0=87=E7=AD=BE=E9=A1=B5?= =?UTF-8?q?=E5=88=87=E6=8D=A2=EF=BC=8C=E6=89=8B=E6=9C=BA=E5=8F=8B=E5=A5=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 原始请求/响应不再上下堆叠,改为「请求 / 响应」两个标签页 - 单个内容区(pre 内滚动 + 自动换行),避免手机上需要长距离滚动 - 打开时默认停在有内容的标签(请求优先);仅有一个数据时只显示对应标签 - 弹窗标题补充模型名与协议信息 --- frontend/src/views/dashboard/UsageLogs.vue | 43 +++++++++++++++++----- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/frontend/src/views/dashboard/UsageLogs.vue b/frontend/src/views/dashboard/UsageLogs.vue index 977f0d0..9edb340 100644 --- a/frontend/src/views/dashboard/UsageLogs.vue +++ b/frontend/src/views/dashboard/UsageLogs.vue @@ -125,17 +125,31 @@

原始数据 #{{ currentRaw?.id }}

-
-
-

原始请求

-
{{ currentRaw.raw_request }}
+

+ {{ currentRaw?.model_name }} · {{ currentRaw?.protocol }} +

+ + +
+
+ +
-
-

原始响应

-
{{ currentRaw.raw_response }}
-
-

该请求未记录原始数据(仅管理员且开关开启时记录)。

+
{{ activeRawContent }}
+

该请求未记录原始数据(仅管理员且开关开启时记录)。