Skip to content

Commit 8869cca

Browse files
committed
fix: closeExecutionDetail
1 parent ab14cf2 commit 8869cca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/views/chat/pc/index.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ function newChat() {
368368
paginationConfig.value.total = 0
369369
currentRecordList.value = []
370370
}
371+
closeExecutionDetail()
371372
currentChatId.value = 'new'
372373
currentChatName.value = t('chat.createChat')
373374
if (common.isMobile()) {
@@ -432,6 +433,7 @@ const clickListHandle = (item: any) => {
432433
currentRecordList.value = []
433434
currentChatId.value = item.id
434435
currentChatName.value = item.abstract
436+
closeExecutionDetail()
435437
if (currentChatId.value !== 'new') {
436438
getChatRecord()
437439

0 commit comments

Comments
 (0)