From 8a6df289207d9a44ef4286dacac07d8002017d89 Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Mon, 13 Apr 2026 23:54:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dashboard/src/App.vue | 7 +- dashboard/src/components/MessageNav.vue | 128 ++++++++++++++++++ dashboard/src/views/ConversationsView.vue | 155 ++++++++++++++++++++-- dashboard/src/views/SettingsView.vue | 6 + dashboard/src/views/ToolsView.vue | 4 + 5 files changed, 286 insertions(+), 14 deletions(-) create mode 100644 dashboard/src/components/MessageNav.vue diff --git a/dashboard/src/App.vue b/dashboard/src/App.vue index be2e22a..8ebbe56 100644 --- a/dashboard/src/App.vue +++ b/dashboard/src/App.vue @@ -16,11 +16,14 @@ const { isLoggedIn } = useAuth() diff --git a/dashboard/src/components/MessageNav.vue b/dashboard/src/components/MessageNav.vue new file mode 100644 index 0000000..c951f26 --- /dev/null +++ b/dashboard/src/components/MessageNav.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/dashboard/src/views/ConversationsView.vue b/dashboard/src/views/ConversationsView.vue index aa0b89a..d711ecc 100644 --- a/dashboard/src/views/ConversationsView.vue +++ b/dashboard/src/views/ConversationsView.vue @@ -25,8 +25,20 @@
{{ c.model || '-' }}
- - + +
@@ -53,7 +65,7 @@
-
+
{{ msg.role === 'user' ? '👤' : '🤖' }}
@@ -133,15 +145,24 @@
+ + +