From 105ade5273d2bbcd9259ee10f905c7494a973ad4 Mon Sep 17 00:00:00 2001 From: Wenjie Zhang Date: Fri, 27 Jun 2025 01:53:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor(debug):=20=E6=9B=B4=E6=96=B0=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E7=BB=84=E4=BB=B6=EF=BC=8C=E5=A2=9E=E5=BC=BA=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E9=85=8D=E7=BD=AE=E5=92=8C=E7=94=A8=E6=88=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=89=93=E5=8D=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 DebugComponent.vue,重命名打印配置函数为 printSystemConfig,并新增打印用户信息、知识库信息和智能体配置的功能。 - 更新日志级别选择的实现方式,采用多选卡片样式,提升用户体验。 - 调整样式以优化界面布局,确保在不同屏幕尺寸下的适配性。 - 在 AppLayout.vue 中移除调试面板的浮动按钮,改为使用模态框展示调试组件。 --- web/src/components/DebugComponent.vue | 299 +++++++++++++++++++++++--- web/src/layouts/AppLayout.vue | 77 +++---- 2 files changed, 315 insertions(+), 61 deletions(-) diff --git a/web/src/components/DebugComponent.vue b/web/src/components/DebugComponent.vue index d7bb3640..164fefd9 100644 --- a/web/src/components/DebugComponent.vue +++ b/web/src/components/DebugComponent.vue @@ -10,9 +10,21 @@ 清空 - + - 打印配置 + 系统配置 + + + + 用户信息 + + + + 知识库信息 + + + + 智能体配置