From ec430f5c84ebbce59fc31afe72c2615fceaa7e0e Mon Sep 17 00:00:00 2001 From: ViperEkura <3081035982@qq.com> Date: Mon, 13 Apr 2026 23:59:18 +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 | 10 +- dashboard/src/components/MessageNav.vue | 128 ++++++++++++++++++ dashboard/src/views/ConversationsView.vue | 155 ++++++++++++++++++++-- dashboard/src/views/SettingsView.vue | 8 ++ dashboard/src/views/ToolsView.vue | 6 + 5 files changed, 292 insertions(+), 15 deletions(-) create mode 100644 dashboard/src/components/MessageNav.vue diff --git a/dashboard/src/App.vue b/dashboard/src/App.vue index be2e22a..bd5bc87 100644 --- a/dashboard/src/App.vue +++ b/dashboard/src/App.vue @@ -16,11 +16,15 @@ 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..decfee5 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 @@
+ + +