Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3634fca8
authored
May 21, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【解决todo】AI 更新对话标题,chat 窗口也更新 title
parent
24ead9f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/views/ai/chat/Conversation.vue
+7
-0
No files found.
src/views/ai/chat/Conversation.vue
View file @
3634fca8
...
@@ -260,6 +260,13 @@ const updateConversationTitle = async (conversation: ChatConversationVO) => {
...
@@ -260,6 +260,13 @@ const updateConversationTitle = async (conversation: ChatConversationVO) => {
message
.
success
(
'重命名成功'
)
message
.
success
(
'重命名成功'
)
// 刷新列表
// 刷新列表
await
getChatConversationList
()
await
getChatConversationList
()
// 过滤当前切换的
const
filterConversationList
=
conversationList
.
value
.
filter
(
item
=>
{
return
item
.
id
===
conversation
.
id
})
if
(
filterConversationList
.
length
>
0
)
{
emits
(
'onConversationClick'
,
filterConversationList
[
0
])
}
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment