Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-fe
Commits
5174faf5
Commit
5174faf5
authored
Oct 25, 2024
by
tyyin lan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(首页): 删除会话历史记录后聊天界面未重新开始
parent
a4923c6a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
history-menu-sidebar.vue
src/views/home/components/history-menu-sidebar.vue
+3
-0
home.vue
src/views/home/home.vue
+1
-0
No files found.
src/views/home/components/history-menu-sidebar.vue
View file @
5174faf5
...
...
@@ -10,6 +10,7 @@ interface SessionHistoryRecordItem {
const
emit
=
defineEmits
<
{
getMessageRecordList
:
[
recordId
:
string
]
createNewSession
:
[]
}
>
()
const
isShowHistoryMenu
=
defineModel
<
boolean
>
({
default
:
true
})
...
...
@@ -95,6 +96,8 @@ function handleRecordDelete() {
isHistoryListEdit
.
value
=
false
emit
(
'createNewSession'
)
getSessionHistoryRecordList
()
})
})
...
...
src/views/home/home.vue
View file @
5174faf5
...
...
@@ -207,6 +207,7 @@ function onGetMessageRecordList(recordId: string) {
ref=
"historyMenuSidebarRef"
v-model=
"isShowHistoryMenu"
@
get-message-record-list=
"onGetMessageRecordList"
@
create-new-session=
"onCreateNewSession"
/>
</div>
...
...
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