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
689d92dc
authored
May 22, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【解决todo】AI 对话修改,避免切换对话
parent
fa4081d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/views/ai/chat/Conversation.vue
+3
-0
No files found.
src/views/ai/chat/Conversation.vue
View file @
689d92dc
...
@@ -281,8 +281,11 @@ const updateConversationTitle = async (conversation: ChatConversationVO) => {
...
@@ -281,8 +281,11 @@ const updateConversationTitle = async (conversation: ChatConversationVO) => {
return
item
.
id
===
conversation
.
id
return
item
.
id
===
conversation
.
id
})
})
if
(
filterConversationList
.
length
>
0
)
{
if
(
filterConversationList
.
length
>
0
)
{
// tip:避免切换对话
if
(
activeConversationId
.
value
===
filterConversationList
[
0
].
id
)
{
emits
(
'onConversationClick'
,
filterConversationList
[
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