fix: 修复个人聊天无显示问题

This commit is contained in:
橙子
2024-07-21 23:44:13 +08:00
parent 60ab339d79
commit 0382d4f114

View File

@@ -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;
}
});