From 0382d4f11494f140831fe68c5229e7117cdea4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A9=99=E5=AD=90?= <454313500@qq.com> Date: Sun, 21 Jul 2024 23:44:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=AA=E4=BA=BA?= =?UTF-8?q?=E8=81=8A=E5=A4=A9=E6=97=A0=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Bbs.Vue3/src/views/chathub/Index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Yi.Bbs.Vue3/src/views/chathub/Index.vue b/Yi.Bbs.Vue3/src/views/chathub/Index.vue index 8218ddf4..6333cead 100644 --- a/Yi.Bbs.Vue3/src/views/chathub/Index.vue +++ b/Yi.Bbs.Vue3/src/views/chathub/Index.vue @@ -39,7 +39,7 @@ const currentMsgContext = computed(() => { if (selectIsAll()) { return chatStore.allMsgContext; } - else if (selectIsAi) { + else if (selectIsAi()) { //如果是ai的值,还行经过markdown处理 // console.log(chatStore.aiMsgContext, "chatStore.aiMsgContext"); // return chatStore.aiMsgContext; @@ -153,7 +153,8 @@ const currentHeaderName = computed(() => { return "Ai-ChatGpt4.0(你的私人ai小助手)" } else { - currentSelectUser.value.userName; + + return currentSelectUser.value.userName; } });